assign sf94 name

svn-id: r18579
This commit is contained in:
Andrew Kurushin 2005-07-24 13:41:49 +00:00
parent 1a5c8cd3da
commit fbc04b1ac7
3 changed files with 5 additions and 5 deletions

View File

@ -533,7 +533,7 @@ private:
void sfVstopFX(SCRIPTFUNC_PARAMS);
void sfVstopLoopedFX(SCRIPTFUNC_PARAMS);
void sfDemoIsInteractive(SCRIPTFUNC_PARAMS);
void sf94(SCRIPTFUNC_PARAMS);
void sfVsetTrack(SCRIPTFUNC_PARAMS);
void sfDebugShowData(SCRIPTFUNC_PARAMS);
void SF_stub(SCRIPTFUNC_PARAMS);
void sfNull(SCRIPTFUNC_PARAMS);

View File

@ -229,7 +229,7 @@ static const ScriptFunctionDescription IHNMscriptFunctionsList[IHNM_SCRIPT_FUNCT
OPCODE(SF_stub),
OPCODE(sfNull),
OPCODE(sfDemoIsInteractive),
OPCODE(sf94),
OPCODE(sfVsetTrack),
OPCODE(SF_stub),
OPCODE(SF_stub),
OPCODE(SF_stub),
@ -2027,11 +2027,11 @@ void Script::sfDemoIsInteractive(SCRIPTFUNC_PARAMS) {
thread->_returnValue = 0;
}
void Script::sf94(SCRIPTFUNC_PARAMS) {
void Script::sfVsetTrack(SCRIPTFUNC_PARAMS) {
for (int i = 0; i < nArgs; i++)
thread->pop();
debug(0, "STUB: sf94(), %d args", nArgs);
debug(0, "STUB: sfVsetTrack(), %d args", nArgs);
}
void Script::sfDebugShowData(SCRIPTFUNC_PARAMS) {

View File

@ -331,7 +331,7 @@ bool Script::runThread(ScriptThread *thread, uint instructionLimit) {
return true;
}
if (scriptFunction == &Saga::Script::sfScriptGotoScene ||
scriptFunction == &Saga::Script::sf94) {
scriptFunction == &Saga::Script::sfVsetTrack) {
return true; // cause abortAllThreads called and _this_ thread destroyed
}