mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Basic implementaion of unjamming on reload hotkey.
TODO: text strings check dual wielding
This commit is contained in:
@@ -4309,15 +4309,21 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
||||
case 'r':
|
||||
if( gusSelectedSoldier != NOBODY )
|
||||
{
|
||||
if( fAlt ) //reload selected merc's weapon
|
||||
// Greysa: Commented out for testing purposes.
|
||||
//if( fAlt ) //reload selected merc's weapon
|
||||
//{
|
||||
// if ( CHEATER_CHEAT_LEVEL( ) )
|
||||
// {
|
||||
// ReloadWeapon( gusSelectedSoldier, gusSelectedSoldier->ubAttackingHand );
|
||||
// }
|
||||
// else
|
||||
// HandleTBReload();
|
||||
//}
|
||||
// Remove this once testing and above commenting finished with.
|
||||
if( fAlt )
|
||||
{
|
||||
if ( CHEATER_CHEAT_LEVEL( ) )
|
||||
{
|
||||
ReloadWeapon( gusSelectedSoldier, gusSelectedSoldier->ubAttackingHand );
|
||||
}
|
||||
else
|
||||
HandleTBReload();
|
||||
}
|
||||
HandleTBReload();
|
||||
}
|
||||
else if( fCtrl )
|
||||
{
|
||||
if ( INFORMATION_CHEAT_LEVEL( ) )
|
||||
|
||||
Reference in New Issue
Block a user