davidlallen
Deity
CvEnums are were all the Strings are hardcoded to return specific values.
emperorfool said:There must be a call to setInfoTypeForString(char*, int) or something. Just pass in "NONE" and -1.
I don't understand how Afforess' suggestion would prevent the "info type NONE not found" messsage. I agree with EmperorFool's suggestion. The message is printed when looking up the string "NONE" and failing to find it in the global hash underneath getInfoTypeForString. I do not see how changing enums will address this at all.
What I don't know exactly is where to put the call to setInfoTypeForString, or if this call exists. It needs to happen early in initialization, before any xml is read.