- added more error checking in scenarios

This commit is contained in:
Mark Vejvoda 2012-07-18 00:15:39 +00:00
parent 9a54f30e86
commit de2e889a4f
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ string Scenario::getFunctionName(const XmlNode *scriptNode){
void Scenario::loadScenarioInfo(string file, ScenarioInfo *scenarioInfo) {
//printf("[%s:%s] Line: %d file [%s]\n",__FILE__,__FUNCTION__,__LINE__,file.c_str());
//if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d] file [%s]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,file.c_str());
printf("In [%s::%s Line: %d] file [%s]\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,file.c_str());
Lang &lang= Lang::getInstance();