From a30222d8e6b3f6ba726c4432549506648c97fb9b Mon Sep 17 00:00:00 2001 From: RedEnchilada Date: Wed, 18 Feb 2015 23:42:01 +0000 Subject: [PATCH] I was helping yellow debug a crash and we found out this thing never actually fixed the crash like it was supposed to so it's fixed now -3- git-svn-id: https://code.orospakr.ca/svn/srb2/trunk@9044 6de4a73c-47e2-0310-b8c1-93d6ecd3f8cd --- src/hardware/hw_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index a61cc85e2..820eb25fc 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -4560,6 +4560,7 @@ static void HWR_ProjectSprite(mobj_t *thing) sizeu1(rot), sizeu2(sprdef->numframes), sprnames[thing->sprite]); thing->sprite = states[S_UNKNOWN].sprite; thing->frame = states[S_UNKNOWN].frame; + sprdef = &sprites[thing->sprite]; rot = thing->frame&FF_FRAMEMASK; thing->state->sprite = thing->sprite; thing->state->frame = thing->frame;