mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-17 23:01:04 +00:00
- Fixed: PCD_SCRIPTWAITDIRECT had different semantics than PCD_SCRIPTWAIT.
SVN r3754 (trunk)
This commit is contained in:
parent
ba00e3a185
commit
95b9eae242
1 changed files with 3 additions and 4 deletions
|
@ -5297,20 +5297,19 @@ int DLevelScript::RunScript ()
|
||||||
|
|
||||||
case PCD_SCRIPTWAIT:
|
case PCD_SCRIPTWAIT:
|
||||||
statedata = STACK(1);
|
statedata = STACK(1);
|
||||||
|
sp--;
|
||||||
|
scriptwait:
|
||||||
if (controller->RunningScripts.CheckKey(statedata) != NULL)
|
if (controller->RunningScripts.CheckKey(statedata) != NULL)
|
||||||
state = SCRIPT_ScriptWait;
|
state = SCRIPT_ScriptWait;
|
||||||
else
|
else
|
||||||
state = SCRIPT_ScriptWaitPre;
|
state = SCRIPT_ScriptWaitPre;
|
||||||
sp--;
|
|
||||||
PutLast ();
|
PutLast ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PCD_SCRIPTWAITDIRECT:
|
case PCD_SCRIPTWAITDIRECT:
|
||||||
state = SCRIPT_ScriptWait;
|
|
||||||
statedata = uallong(pc[0]);
|
statedata = uallong(pc[0]);
|
||||||
pc++;
|
pc++;
|
||||||
PutLast ();
|
goto scriptwait;
|
||||||
break;
|
|
||||||
|
|
||||||
case PCD_CLEARLINESPECIAL:
|
case PCD_CLEARLINESPECIAL:
|
||||||
if (activationline != NULL)
|
if (activationline != NULL)
|
||||||
|
|
Loading…
Reference in a new issue