mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
Merge branch 'long-sprite-fix' into 'next'
Fix mirrored long sprite rotations not working in Software See merge request STJr/SRB2!2511
This commit is contained in:
commit
cb067beb6d
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ static void MirrorMissingRotations(void)
|
||||||
|
|
||||||
UINT8 baserotation = GetOppositeRotation(rotation, frame->rotate);
|
UINT8 baserotation = GetOppositeRotation(rotation, frame->rotate);
|
||||||
UINT32 lumpnum = frame->lumppat[baserotation - 1];
|
UINT32 lumpnum = frame->lumppat[baserotation - 1];
|
||||||
R_InstallSpriteLump(WADFILENUM(lumpnum), LUMPNUM(lumpnum), frame->lumpid[baserotation], framenum, rotation, 1);
|
R_InstallSpriteLump(WADFILENUM(lumpnum), LUMPNUM(lumpnum), frame->lumpid[baserotation - 1], framenum, rotation, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue