Fixed a problem with wrong variable name, and modified infant spit index to match the new Vanilla friendly index

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1357 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Overhaul
2007-09-13 06:01:33 +00:00
parent ffc70e9723
commit 2a4e963983
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -586,7 +586,7 @@ typedef enum
BIG_TEAR_GAS,
SMALL_CREATURE_GAS,
LARGE_CREATURE_GAS,
VERY_SMALL_CREATURE_GAS=995, // Renumbered because the original 160 was lost
VERY_SMALL_CREATURE_GAS=270, // Renumbered because the original 160 was lost
// armor
FLAK_JACKET=161, //= FIRST_ARMOUR, ( We're out of space! )
+1 -1
View File
@@ -871,7 +871,7 @@ void AStarPathfinder::ExecuteAStarLogic()
if (fContinuousTurnNeeded) {
GridNode parent = GetAStarParent(ParentNode);
if (parent != GridNode(-1,-1)) {
lastDir = pSoldier->bDirection;
lastDir = pSoldier->ubDirection;
}
else if ( GetLoopState(parent) == false ) {
lastDir = GetDirection(parent);