- UseGunNCTH: initialize fBuckshot

- CreatureDecideActionBlack: use CreatureDecideActionRed instead of DecideActionRed

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8468 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2017-08-31 15:46:33 +00:00
parent ff8a656040
commit c24a5da97a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1772,7 +1772,7 @@ BOOLEAN UseGunNCTH( SOLDIERTYPE *pSoldier , INT32 sTargetGridNo )
FLOAT dTargetY;
FLOAT dTargetZ;
UINT16 usItemNum;
BOOLEAN fBuckshot;
BOOLEAN fBuckshot = 0;
UINT8 ubVolume;
CHAR8 zBurstString[512];
UINT8 ubDirection;
+1 -1
View File
@@ -1171,7 +1171,7 @@ INT8 CreatureDecideActionBlack( SOLDIERTYPE * pSoldier )
#endif
// then make decision as if at alert status RED, but make sure
// we don't try to SEEK OPPONENT the unconscious guy!
return(DecideActionRed(pSoldier,FALSE));
return(CreatureDecideActionRed(pSoldier,FALSE));
}
// else kill the guy, he could be the last opponent alive in this sector
}