ITEM_SUIT: destroy when we're running on game 'bshift'
This commit is contained in:
parent
e152392132
commit
ed30225de7
1 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,11 @@ item_suit::Touch(entity eToucher)
|
||||||
void
|
void
|
||||||
item_suit::Respawn(void)
|
item_suit::Respawn(void)
|
||||||
{
|
{
|
||||||
|
if (cvar_string("fs_game") == "bshift") {
|
||||||
|
Destroy();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
SetSolid(SOLID_TRIGGER);
|
SetSolid(SOLID_TRIGGER);
|
||||||
SetMovetype(MOVETYPE_TOSS);
|
SetMovetype(MOVETYPE_TOSS);
|
||||||
SetOrigin(GetSpawnOrigin());
|
SetOrigin(GetSpawnOrigin());
|
||||||
|
|
Loading…
Reference in a new issue