minor cleanup
svn-id: r26212
This commit is contained in:
parent
c7c79e33db
commit
edd4e73787
2 changed files with 1 additions and 5 deletions
|
@ -1633,7 +1633,7 @@ int Logic::fnQuitGame(Object *cpt, int32 id, int32 a, int32 b, int32 c, int32 d,
|
|||
SwordEngine::_systemVars.engineQuit = true;
|
||||
} else
|
||||
error("fnQuitGame() called");
|
||||
return SCRIPT_STOP;
|
||||
return fnQuit(cpt, id, 0, 0, 0, 0, 0, 0);;
|
||||
}
|
||||
|
||||
int Logic::fnDeathScreen(Object *cpt, int32 id, int32 a, int32 b, int32 c, int32 d, int32 z, int32 x) {
|
||||
|
|
|
@ -69,10 +69,6 @@ int Sound::addToQueue(int32 fxNo) {
|
|||
warning("Sound queue overflow");
|
||||
return 0;
|
||||
}
|
||||
if ((fxNo == 168) && (SwordEngine::_systemVars.isDemo)) {
|
||||
// this sound doesn't exist in demo
|
||||
return 0;
|
||||
}
|
||||
_resMan->resOpen(_fxList[fxNo].sampleId);
|
||||
_fxQueue[_endOfQueue].id = fxNo;
|
||||
if (_fxList[fxNo].type == FX_SPOT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue