Skip to content

Commit

Permalink
Merge pull request BSVino#36 from TomyLobo/fix-da_official-first-spaw…
Browse files Browse the repository at this point in the history
…n-dive

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 9fa48fe + 5cd7394 commit 48b585a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mp/src/game/server/sdk/sdk_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,9 @@ void CSDKPlayer::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 48b585a

Please sign in to comment.