mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix for randomly shooting in wrong direction because the game activates spreading code by mistake (by Shadooow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8992 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -774,7 +774,11 @@ void QueryTBLeftButton( UINT32 *puiNewEvent )
|
||||
break;
|
||||
|
||||
case CONFIRM_ACTION_MODE:
|
||||
|
||||
if (GetSoldier(&pSoldier, gusSelectedSoldier))
|
||||
{
|
||||
//shadooow: this fixes merc randomly shooting in different direction than assigned
|
||||
pSoldier->flags.fDoSpread = 0;
|
||||
}
|
||||
*puiNewEvent = CA_MERC_SHOOT;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user