- fixed runlist handling for actor targets.

This commit is contained in:
Christoph Oelckers 2021-10-17 16:22:25 +02:00
parent 51ee9cf6c6
commit 491c27caa6

View file

@ -385,10 +385,9 @@ void runlist_SignalRun(int NxtPtr, int edx)
if (RunPtr >= 0)
{
assert(RunPtr < kMaxRuns);
int val = RunData[RunPtr].nObjIndex;
NxtPtr = RunData[RunPtr].next;
if (val >= 0) {
if (RunData[RunPtr].nObjIndex >= 0 || RunData[RunPtr].pObjActor) {
runlist_SendMessageToRunRec(RunPtr, edx & 0xffff, edx & ~0xffff, 0);
}
}