This commit is contained in:
alufolie91 committed 2023-08-15 05:14:18 +02:00
1 parent d954a7f54f
commit 78a182a8a1
1 file changed
+5
+5
View File
@@ -4936,7 +4936,9 @@ void HWR_ProjectSprite(mobj_t *thing)
float gz, gzt;
spritedef_t *sprdef;
spriteframe_t *sprframe;
#ifdef ROTSPRITE
spriteinfo_t *sprinfo;
#endif
size_t lumpoff;
unsigned rot;
UINT8 flip;
@@ -5025,6 +5027,9 @@ void HWR_ProjectSprite(mobj_t *thing)
thing->sprite = states[S_UNKNOWN].sprite;
thing->frame = states[S_UNKNOWN].frame;
sprdef = &sprites[thing->sprite];
#ifdef ROTSPRITE
sprinfo = &spriteinfo[thing->sprite];
#endif
rot = thing->frame&FF_FRAMEMASK;
thing->state->sprite = thing->sprite;
thing->state->frame = thing->frame;