Skip to content

Commit

Permalink
Fix tripmine viewmodel having wrong body on first pickup
Browse files Browse the repository at this point in the history
Resolves #129
  • Loading branch information
SamVanheer committed Jan 19, 2022
1 parent 19883a9 commit 68dc517
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dlls/tripmine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,11 @@ void CTripmine::Spawn()

m_iDefaultAmmo = TRIPMINE_DEFAULT_GIVE;

//HACK: force the body to the first person view by default so it doesn't show up as a huge tripmine for a second.
#ifdef CLIENT_DLL
pev->body = 0;
#endif

#ifdef CLIENT_DLL
if (!bIsMultiplayer())
#else
Expand Down

0 comments on commit 68dc517

Please sign in to comment.