mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
AI:
- before deciding anything, stop cowering animation - before deciding anything, stop giving aid animation - before deciding to raise weapon, check if weapon can be raised - simplified scope check - removed duplicate code in Red AI Added missing actions to gzActionStr[]. Fixed OKLIFE checks. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8740 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+10
-1
@@ -339,6 +339,15 @@ CHAR8 gzActionStr[][ 30 ] =
|
||||
"TRAVERSE DOWN",
|
||||
"OFFER SURRENDER",
|
||||
"RAISE GUN",
|
||||
"STEAL MOVE",
|
||||
"RELOAD GUN"
|
||||
"JUMP WINDOW",
|
||||
"FREE PRISONER",
|
||||
"USE SKILL",
|
||||
"DOCTOR",
|
||||
"DOCTOR SELF",
|
||||
"SELFDETONATE",
|
||||
"STOP MEDIC",
|
||||
};
|
||||
|
||||
CHAR8 gzDirectionStr[][ 30 ] =
|
||||
@@ -6847,7 +6856,7 @@ void RemoveCapturedEnemiesFromSectorInfo( INT16 sMapX, INT16 sMapY, INT8 bMapZ )
|
||||
if ( (pTeamSoldier->usSoldierFlagMask & SOLDIER_POW) && !(pTeamSoldier->flags.uiStatusFlags & SOLDIER_DEAD) )
|
||||
{
|
||||
// if we arrive here and the guy has lifepoints < OKLIFE, something is very odd... better take him prisoner and remove him anyway
|
||||
//if ( pTeamSoldier->stats.bLife > OKLIFE && pTeamSoldier->stats.bLife != 0 )
|
||||
//if ( pTeamSoldier->stats.bLife >= OKLIFE && pTeamSoldier->stats.bLife != 0 )
|
||||
{
|
||||
// officers and generals are 'special' prisoners...
|
||||
if ( pTeamSoldier->usSoldierFlagMask & SOLDIER_VIP )
|
||||
|
||||
Reference in New Issue
Block a user