1.1 --- a/core/GameConfigs.cpp Sat Dec 22 19:35:54 2007 +0000
1.2 +++ b/core/GameConfigs.cpp Sat Dec 22 19:36:28 2007 +0000
1.3 @@ -508,14 +508,9 @@
1.4 sm_trie_clear(m_pProps);
1.5 sm_trie_clear(m_pKeys);
1.6
1.7 - if ((err=textparsers->ParseFile_SMC(path, this, NULL))
1.8 + if ((err=textparsers->ParseSMCFile(path, this, NULL, error, maxlength))
1.9 != SMCError_Okay)
1.10 {
1.11 - if (error && (err != SMCError_Custom))
1.12 - {
1.13 - const char *str = textparsers->GetSMCErrorString(err);
1.14 - snprintf(error, maxlength, "%s", str);
1.15 - }
1.16 return false;
1.17 }
1.18