- Bugfix: Fixed Assertion, when trying to add pending enemies

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4795 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2011-11-14 22:47:08 +00:00
parent 611fa2f82d
commit f410402155
+6 -1
View File
@@ -1528,7 +1528,12 @@ void AddPossiblePendingEnemiesToBattle()
}
else
{
AssertMsg( 0, "AddPossiblePendingEnemiesToBattle(): Logic Error -- by Kris" );
// WANNE: Instead of asserting, just add a regular troop
//AssertMsg( 0, "AddPossiblePendingEnemiesToBattle(): Logic Error -- by Kris" );
pGroup->pEnemyGroup->ubTroopsInBattle++;
ubSlots--;
AddEnemiesToBattle( pGroup, ubInsertionCode, 0, 1, 0, FALSE );
}
}