mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Enable sprite rotation in OpenGL
This commit is contained in:
parent
7544f8b3b4
commit
95bfe07d66
1 changed files with 2 additions and 0 deletions
|
|
@ -5249,6 +5249,8 @@ static void HWR_ProjectSprite(mobj_t *thing)
|
||||||
spr_topoffset = spritecachedinfo[lumpoff].topoffset;
|
spr_topoffset = spritecachedinfo[lumpoff].topoffset;
|
||||||
|
|
||||||
#ifdef ROTSPRITE
|
#ifdef ROTSPRITE
|
||||||
|
spriterotangle = R_SpriteRotationAngle(thing, NULL);
|
||||||
|
|
||||||
if (spriterotangle != 0
|
if (spriterotangle != 0
|
||||||
&& !(splat && !(thing->renderflags & RF_NOSPLATROLLANGLE)))
|
&& !(splat && !(thing->renderflags & RF_NOSPLATROLLANGLE)))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue