- disable rotation for hud_drawpal.

This was just a Build crutch to do x-flipping, with that being handled in the backend now the rotation angle must be 0.
This commit is contained in:
Christoph Oelckers 2020-07-25 09:02:47 +02:00
parent 9fe3af370b
commit 30a0fcfe46
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ int getavel(int snum)
inline static void hud_drawpal(double x, double y, int tilenum, int shade, int orientation, int p) inline static void hud_drawpal(double x, double y, int tilenum, int shade, int orientation, int p)
{ {
hud_drawsprite(x, y, 65536, (orientation & 4) ? 1024 : 0, tilenum, shade, p, 2 | orientation); hud_drawsprite(x, y, 65536, 0, tilenum, shade, p, 2 | orientation);
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------

View file

@ -40,7 +40,7 @@ BEGIN_DUKE_NS
inline static void hud_drawpal(double x, double y, int tilenum, int shade, int orientation, int p, int scale = 32768) inline static void hud_drawpal(double x, double y, int tilenum, int shade, int orientation, int p, int scale = 32768)
{ {
hud_drawsprite(x, y, scale, (orientation & 4) ? 1024 : 0, tilenum, shade, p, 2 | orientation); hud_drawsprite(x, y, scale, 0, tilenum, shade, p, 2 | orientation);
} }
inline static void rdmyospal(double x, double y, int tilenum, int shade, int orientation, int p) inline static void rdmyospal(double x, double y, int tilenum, int shade, int orientation, int p)