. Duke: made the 'lonely effector' error non fatal.

Instead just move the bogus effector sprite out of the way.
This commit is contained in:
Christoph Oelckers 2021-05-08 15:41:49 +02:00
parent 3dfc3e73d2
commit de904d3052
1 changed files with 5 additions and 1 deletions

View File

@ -994,7 +994,11 @@ void spawneffector(DDukeActor* actor)
}
if (!found)
{
I_Error("Found lonely Sector Effector (lotag 0) at (%d,%d)\n", sp->x, sp->y);
sp->picnum = 0;
sp->cstat = CSTAT_SPRITE_NOFIND;
changespritesect(actor, STAT_REMOVED);
Printf("Found lonely Sector Effector (lotag 0) at (%d,%d)\n", sp->x, sp->y);
return;
}
}