- add more wrappers and use 'inittype' where the actual zvel member of spritetype is wanted.

This will avoid problems with search&replace later.
This commit is contained in:
Christoph Oelckers 2022-09-01 00:45:45 +02:00
parent 8946a66350
commit 05f488ce3c
6 changed files with 20 additions and 9 deletions

View file

@ -615,7 +615,7 @@ tspritetype* renderAddTsprite(tspriteArray& tsprites, DCoreActor* actor)
tspr->angle = actor->spr.angle;
tspr->xvel = actor->spr.xvel;
tspr->yvel = actor->spr.yvel;
tspr->zvel = actor->int_zvel();
tspr->inittype = actor->spr.inittype;
tspr->lotag = actor->spr.lotag;
tspr->hitag = actor->spr.hitag;
tspr->extra = actor->spr.extra;