diff --git a/source/glest_game/type_instances/faction.cpp b/source/glest_game/type_instances/faction.cpp index a5285b45..3498ed40 100644 --- a/source/glest_game/type_instances/faction.cpp +++ b/source/glest_game/type_instances/faction.cpp @@ -470,9 +470,9 @@ void Faction::applyStaticCosts(const ProducibleType *p) { //decrease static resources for(int i=0; igetCostCount(); ++i) { const ResourceType *rt= p->getCost(i)->getType(); - assert(rt != NULL); + //assert(rt != NULL); if(rt == NULL) { - throw runtime_error("rt == NULL"); + throw runtime_error("rt == NULL - " + p->getName()); } if(rt->getClass() == rcStatic) { int cost= p->getCost(i)->getAmount();