mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-01 08:42:12 +00:00
Fix tripmine viewmodel having wrong body on first pickup (#262)
This commit is contained in:
parent
1c42a4170c
commit
c01f154873
@ -1,4 +1,4 @@
|
|||||||
/***
|
/***
|
||||||
*
|
*
|
||||||
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
|
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
|
||||||
*
|
*
|
||||||
@ -483,6 +483,8 @@ void CTripmine::PrimaryAttack( void )
|
|||||||
|
|
||||||
void CTripmine::WeaponIdle( void )
|
void CTripmine::WeaponIdle( void )
|
||||||
{
|
{
|
||||||
|
pev->body = 0;
|
||||||
|
|
||||||
if( m_flTimeWeaponIdle > UTIL_WeaponTimeBase() )
|
if( m_flTimeWeaponIdle > UTIL_WeaponTimeBase() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user