mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +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:
|
||||
statedata = STACK(1);
|
||||
sp--;
|
||||
scriptwait:
|
||||
if (controller->RunningScripts.CheckKey(statedata) != NULL)
|
||||
state = SCRIPT_ScriptWait;
|
||||
else
|
||||
state = SCRIPT_ScriptWaitPre;
|
||||
sp--;
|
||||
PutLast ();
|
||||
break;
|
||||
|
||||
case PCD_SCRIPTWAITDIRECT:
|
||||
state = SCRIPT_ScriptWait;
|
||||
statedata = uallong(pc[0]);
|
||||
pc++;
|
||||
PutLast ();
|
||||
break;
|
||||
goto scriptwait;
|
||||
|
||||
case PCD_CLEARLINESPECIAL:
|
||||
if (activationline != NULL)
|
||||
|
|
Loading…
Reference in a new issue