- Duke: fixed gamevars not being allocated for map spawned actors.

This commit is contained in:
Christoph Oelckers 2022-01-24 23:05:22 +01:00
parent 515bd54512
commit 58f535d3a4

View file

@ -137,6 +137,7 @@ DDukeActor* EGS(sectortype* whatsectp, int s_x, int s_y, int s_z, int s_pn, int8
bool initspriteforspawn(DDukeActor* act, const std::initializer_list<int> &excludes)
{
SetupGameVarsForActor(act);
act->attackertype = act->spr.picnum;
act->timetosleep = 0;
act->hitextra = -1;