Skip to content

Commit

Permalink
- Duke: fixed gamevars not being allocated for map spawned actors.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jan 24, 2022
1 parent 515bd54 commit 58f535d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/games/duke/src/spawn.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 58f535d

Please sign in to comment.