mirror of
https://github.com/DrBeef/Raze.git
synced 2025-04-13 11:11:48 +00:00
- Duke: fixed gamevars not being allocated for map spawned actors.
This commit is contained in:
parent
515bd54512
commit
58f535d3a4
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue