mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Fix issues with scripted actors, namely the crane which was non-operable.
This commit is contained in:
parent
043e005363
commit
d3217a3e54
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ DCoreActor* InsertActor(PClass* type, sectortype* sector, int stat, bool tail)
|
|||
|
||||
#define setter(flag, var) if (actorinfo->DefaultFlags & flag) actor->spr.var = actorinfo->defsprite.var;
|
||||
|
||||
if (stat < 0 && (actorinfo->DefaultFlags & DEFF_STATNUM)) stat = actorinfo->defsprite.statnum;
|
||||
if (actorinfo->DefaultFlags & DEFF_STATNUM) stat = actorinfo->defsprite.statnum;
|
||||
setter(DEFF_PICNUM, picnum);
|
||||
setter(DEFF_ANG, angle);
|
||||
setter(DEFF_XVEL, xint);
|
||||
|
|
Loading…
Reference in a new issue