Browse Source

Merge branch 'induction' into mobile_hacks

mobile_hacks
Andrey Akhmichin 5 years ago
parent
commit
d4be9d1364
  1. 2
      dlls/player.cpp
  2. 1
      dlls/weapons.cpp

2
dlls/player.cpp

@ -3470,6 +3470,8 @@ void CBasePlayer::CheatImpulseCommands( int iImpulse ) @@ -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

1
dlls/weapons.cpp

@ -303,6 +303,7 @@ void W_Precache( void ) @@ -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

Loading…
Cancel
Save