Linkman226
#anarchy
- Joined
- Sep 14, 2007
- Messages
- 2,493
I'm getting the following Assert Failed before my game crashes. Can someone help me out with what exactly it means?
The relevant section of code, line 1522 in red:
Code:
Assert Failed
File: CvCityAI.cpp
Line: 1522
Expression: false
Message:
----------------------------------------------------------
The relevant section of code, line 1522 in red:
Code:
else
{
iMaxUnitSpending += bDefenseWar ? 4 : 0;
switch (pArea->getAreaAIType(getTeam()))
{
case AREAAI_OFFENSIVE:
iMaxUnitSpending += 5;
break;
case AREAAI_DEFENSIVE:
iMaxUnitSpending += 10;
break;
case AREAAI_MASSING:
iMaxUnitSpending += 25;
break;
case AREAAI_ASSAULT:
iMaxUnitSpending += 8;
break;
case AREAAI_ASSAULT_MASSING:
iMaxUnitSpending += 16;
break;
case AREAAI_ASSAULT_ASSIST:
iMaxUnitSpending += 6;
break;
case AREAAI_NEUTRAL:
break;
default:
[COLOR="Red"]FAssert(false);[/COLOR]
}
}