Browse Source

Fix tripmine viewmodel having wrong body on first pickup (#262)

hlfixed
Roman Chistokhodov 2 years ago committed by GitHub
parent
commit
c01f154873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dlls/tripmine.cpp

4
dlls/tripmine.cpp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
/***
/***
*
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
*
@ -483,6 +483,8 @@ void CTripmine::PrimaryAttack( void ) @@ -483,6 +483,8 @@ void CTripmine::PrimaryAttack( void )
void CTripmine::WeaponIdle( void )
{
pev->body = 0;
if( m_flTimeWeaponIdle > UTIL_WeaponTimeBase() )
return;

Loading…
Cancel
Save