2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

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

This commit is contained in:
Roman Chistokhodov 2022-07-08 20:17:50 +03:00 committed by GitHub
parent 1c42a4170c
commit c01f154873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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