mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix: weapon mode wasn't changed back after checking for grenades (by Kriplo)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6299 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2305,9 +2305,10 @@ void CheckIfTossPossible(SOLDIERTYPE *pSoldier, ATTACKTYPE *pBestThrow)
|
||||
else
|
||||
{
|
||||
// no rocket launcher or attached GL, consider grenades
|
||||
pSoldier->bWeaponMode = bOldWeaponMode;
|
||||
pBestThrow->bWeaponIn = FindThrowableGrenade( pSoldier );
|
||||
}
|
||||
|
||||
pSoldier->bWeaponMode = bOldWeaponMode;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user