Merge branch 'induction' into mobile_hacks

This commit is contained in:
Andrey Akhmichin 2019-12-01 15:35:44 +05:00
commit d4be9d1364
2 changed files with 3 additions and 0 deletions

View File

@ -3470,6 +3470,8 @@ void CBasePlayer::CheatImpulseCommands( int iImpulse )
}
else
GiveNamedItem( "item_battery" );
if( g_iModType == INDUCTION )
GiveNamedItem( "item_flashlight" );
#else // MOBILE_HACKS
GiveNamedItem( "item_battery" );
#endif // MOBILE_HACKS

View File

@ -303,6 +303,7 @@ void W_Precache( void )
UTIL_PrecacheOther( "item_battery" );
UTIL_PrecacheOther( "item_antidote" );
UTIL_PrecacheOther( "item_security" );
UTIL_PrecacheOther( "item_flashlight" );
UTIL_PrecacheOther( "item_longjump" );
// shotgun