GetUnitDef(int id) causing trouble
Posted: 25 Oct 2005, 18:54
GetUnitDef(int id) return a null pointer when called during initialization of an ai
however, GetUnitDef("ARMCOM") works fine for me; is it possible that the unit ids are not set when spring ai intefrace calls InitAI() ??
however, GetUnitDef("ARMCOM") works fine for me; is it possible that the unit ids are not set when spring ai intefrace calls InitAI() ??