fixed gcc ISO C++ error

svn-id: r17287
This commit is contained in:
Andrew Kurushin 2005-03-29 19:16:46 +00:00
parent 1b4b92c0f5
commit 6bc301810b

View File

@ -337,7 +337,7 @@ bool Script::runThread(ScriptThread *thread, uint instructionLimit) {
scriptFunction = _scriptFunctionsList[functionNumber].scriptFunction;
(this->*scriptFunction)(thread, argumentsCount);
if (scriptFunction == sfScriptGotoScene) {
if (scriptFunction == &Saga::Script::sfScriptGotoScene) {
//if (functionNumber == 16) { // sfScriptGotoScene
return true; // cause abortAllThreads called and _this_ thread destroyed
}