Skip to content

Commit

Permalink
Merge pull request #36 from TomyLobo/fix-da_official-first-spawn-dive
Browse files Browse the repository at this point in the history
Fix the bug that prevents players from diving right after spawning the first time on da_official
  • Loading branch information
TomyLobo committed Mar 29, 2016
2 parents 57de0da + 631ecec commit f9b059a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mp/src/game/server/da/da_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ void CDAPlayer::Spawn()
UpdateStyleSkill();

BaseClass::Spawn();

SetGroundEntity(NULL);

#if defined ( SDK_USE_STAMINA ) || defined ( SDK_USE_SPRINTING )
m_Shared.SetStamina( 100 );
#endif
Expand Down

0 comments on commit f9b059a

Please sign in to comment.