Browse Source

fixed war machine spawning

AlexVinS 8 years ago
parent
commit
f463dc2fa3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/battle/BattleInfo.cpp

+ 1 - 1
lib/battle/BattleInfo.cpp

@@ -441,7 +441,7 @@ BattleInfo * BattleInfo::setupBattle(int3 tile, ETerrainType terrain, BFieldType
 				CreatureID cre = warMachineArt->artType->warMachine;
 
 				if(cre != CreatureID::NONE)
-					stacks.push_back(curB->generateNewStack(CStackBasicDescriptor(cre, 1), !side, SlotID::WAR_MACHINES_SLOT, hex));
+					stacks.push_back(curB->generateNewStack(CStackBasicDescriptor(cre, 1), side, SlotID::WAR_MACHINES_SLOT, hex));
 			}
 		};