Give armorvest and helmet when using impulse 101 cheat.

This commit is contained in:
Night Owl 2018-01-16 14:07:18 +05:00
parent 8b876213b9
commit 0082093ecb
2 changed files with 5 additions and 1 deletions

View File

@ -3446,7 +3446,9 @@ void CBasePlayer::CheatImpulseCommands( int iImpulse )
case 101:
gEvilImpulse101 = TRUE;
GiveNamedItem( "item_suit" );
GiveNamedItem( "item_battery" );
GiveNamedItem( "item_armorvest" );
GiveNamedItem( "item_helmet" );
// GiveNamedItem( "item_battery" );
GiveNamedItem( "weapon_crowbar" );
GiveNamedItem( "weapon_9mmhandgun" );
GiveNamedItem( "ammo_9mmclip" );

View File

@ -296,6 +296,8 @@ void W_Precache( void )
// common world objects
UTIL_PrecacheOther( "item_suit" );
UTIL_PrecacheOther( "item_healthkit" );
UTIL_PrecacheOther( "item_armorvest" );
UTIL_PrecacheOther( "item_helmet" );
UTIL_PrecacheOther( "item_battery" );
UTIL_PrecacheOther( "item_antidote" );
UTIL_PrecacheOther( "item_security" );