mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
. Duke: made the 'lonely effector' error non fatal.
Instead just move the bogus effector sprite out of the way.
This commit is contained in:
parent
3dfc3e73d2
commit
de904d3052
1 changed files with 5 additions and 1 deletions
|
@ -994,7 +994,11 @@ void spawneffector(DDukeActor* actor)
|
||||||
}
|
}
|
||||||
if (!found)
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue