mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-08 21:14:14 +00:00
Do not try to push breakables without PUSHSTEP with gravgun
This commit is contained in:
parent
a8aadeee75
commit
271b1053ed
@ -89,8 +89,12 @@ public:
|
||||
string_t m_iszSpawnObject;
|
||||
virtual float TouchGravGun( CBaseEntity *attacker, int stage )
|
||||
{
|
||||
pev->framerate = 1;
|
||||
return 200;
|
||||
if( pev->movetype == MOVETYPE_PUSHSTEP )
|
||||
{
|
||||
pev->framerate = 1;
|
||||
return 200;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
#endif // FUNC_BREAK_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user