mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
fixed gcc ISO C++ error
svn-id: r17287
This commit is contained in:
parent
1b4b92c0f5
commit
6bc301810b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user