diff options
author | Andrew Kurushin | 2005-03-29 19:16:46 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-03-29 19:16:46 +0000 |
commit | 6bc301810b59ac097afcaafffabfbad679b97f6f (patch) | |
tree | 0b3c95c2802725bea080fb70313058d79f0c8d63 /saga | |
parent | 1b4b92c0f5d876d9a149a7631383369c11fffcb8 (diff) | |
download | scummvm-rg350-6bc301810b59ac097afcaafffabfbad679b97f6f.tar.gz scummvm-rg350-6bc301810b59ac097afcaafffabfbad679b97f6f.tar.bz2 scummvm-rg350-6bc301810b59ac097afcaafffabfbad679b97f6f.zip |
fixed gcc ISO C++ error
svn-id: r17287
Diffstat (limited to 'saga')
-rw-r--r-- | saga/sthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sthread.cpp b/saga/sthread.cpp index 1354d2c0b9..244546f29e 100644 --- a/saga/sthread.cpp +++ b/saga/sthread.cpp @@ -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 } |