mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
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
This commit is contained in:
parent
643dc4cbaa
commit
a30222d8e6
1 changed files with 1 additions and 0 deletions
|
@ -4560,6 +4560,7 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
||||||
sizeu1(rot), sizeu2(sprdef->numframes), sprnames[thing->sprite]);
|
sizeu1(rot), sizeu2(sprdef->numframes), sprnames[thing->sprite]);
|
||||||
thing->sprite = states[S_UNKNOWN].sprite;
|
thing->sprite = states[S_UNKNOWN].sprite;
|
||||||
thing->frame = states[S_UNKNOWN].frame;
|
thing->frame = states[S_UNKNOWN].frame;
|
||||||
|
sprdef = &sprites[thing->sprite];
|
||||||
rot = thing->frame&FF_FRAMEMASK;
|
rot = thing->frame&FF_FRAMEMASK;
|
||||||
thing->state->sprite = thing->sprite;
|
thing->state->sprite = thing->sprite;
|
||||||
thing->state->frame = thing->frame;
|
thing->state->frame = thing->frame;
|
||||||
|
|
Loading…
Reference in a new issue