I have a bunch of Assert Failed when debugging, and while they dont seem to cause any trouble, they do kind of bother me, and I would prefer to atleast understand them before turning them off.
They will be added to this thread as they come up in my game.
The first one: eBuilding = 139 and eBuildingClass = 121.
Frequency is very high and starts already after map gen.
SOLVED
Assert Failed
File: .\.\CvPlayer.cpp
Line: 5387
Expression: GC.getCivilizationInfo(getCivilizationType()).getCivilizationBuildings(eBuildingClass) == eBuilding
From what I can read it says te
They will be added to this thread as they come up in my game.
The first one: eBuilding = 139 and eBuildingClass = 121.
Frequency is very high and starts already after map gen.
SOLVED
Assert Failed
File: .\.\CvPlayer.cpp
Line: 5387
Expression: GC.getCivilizationInfo(getCivilizationType()).getCivilizationBuildings(eBuildingClass) == eBuilding
PHP:
bool CvPlayer::canConstruct(BuildingTypes eBuilding, bool bContinue, bool bTestVisible, bool bIgnoreCost) const
{
BuildingClassTypes eBuildingClass;
int iI;
CvTeamAI& currentTeam = GET_TEAM(getTeam());
eBuildingClass = ((BuildingClassTypes)(GC.getBuildingInfo(eBuilding).getBuildingClassType()));
FAssert(GC.getCivilizationInfo(getCivilizationType()).getCivilizationBuildings(eBuildingClass) == eBuilding);
if (GC.getCivilizationInfo(getCivilizationType()).getCivilizationBuildings(eBuildingClass) != eBuilding)
{
return false;
}
From what I can read it says te
Last edited: