- the spawn dispatcher is no longer used.

This commit is contained in:
Christoph Oelckers 2020-11-02 21:00:53 +01:00
parent c54f17a6d5
commit 60977ef4dc
2 changed files with 2 additions and 4 deletions

View file

@ -155,7 +155,6 @@ void SetDispatcher()
respawnhitag_d,
checktimetosleep_d,
move_d,
spawn_d,
incur_damage_d,
shoot_d,
@ -204,7 +203,6 @@ void SetDispatcher()
respawnhitag_r,
checktimetosleep_r,
move_r,
spawn_r,
incur_damage_r,
shoot_r,

View file

@ -670,7 +670,7 @@ void prelevel_r(int g)
{
if (spr->picnum == SECTOREFFECTOR && spr->lotag == 14)
continue;
fi.spawn(-1, i);
spawn(nullptr, i);
}
}
@ -680,7 +680,7 @@ void prelevel_r(int g)
if (spr->statnum < MAXSTATUS)
{
if (spr->picnum == SECTOREFFECTOR && spr->lotag == 14)
fi.spawn(-1, i);
spawn(nullptr, i);
}
if (spr->picnum == RRTILE19)
deletesprite(i);