Known Asserts - Nightinggale/Medieval_Tech GitHub Wiki

Version mean the version the assert is reported in and has 3 possible options:

Version number a stable release
Git self explaining
Fixed fixed in git, but still present in last stable release

Notes is about a possible cause and fix. Leaving it blank means cause unknown.

File Line Expression Message Version Notes on fixing it
CvPlayerAI.h 24 ePlayer >= 0 Player is not assigned a valid value
CvUnitAI.cpp 86 isGroupHead() isGroupHead is expected to be true
CvUnit.cpp 965 m_pUnitInfo->getDefaultUnitAIType() == AI_getUnitAIType()
CvTeam.cpp 997 eTeam != getID() eTeam is not expected to be equal with getID()
CvUnit.cpp 1252 pCity != NULL
CvPlayer.cpp 4958 GC.getCivilizationInfo(getCivilizationType()).getCivilizationUnits(eUnitClass) == eUnit
CvPlayer.cpp 5097 GC.getCivilizationInfo(getCivilizationType()).getCivilizationBuildings(eBuildingClass) == eBuilding
CvUnit.cpp 6486 kCity.foodDifference() < 0
CvGameTextMgr.cpp 8514 iModifiedProduction == aiYields[eYieldType]
CvGameTextMgr.cpp 8285 iBaseProduction == city.getBaseRawYieldProduced(eYieldType)
CvGameTextMgr.cpp 9222 eYield == NO_YIELD kPlayer.getSellToEuropeProfit(eYield, iAmount * (100 - iCommission) / 100) == iGross
CvPlayer.cpp 14645 iPrice <= getGold()
CvPlayer.cpp 15101 eYield < NUM_YIELD_TYPES 2.0g Invalid function argument
CvPlayer.cpp 15109 eYield < NUM_YIELD_TYPES 2.0g Invalid function argument
⚠️ **GitHub.com Fallback** ⚠️