mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-21 02:51:46 +00:00
- WHaven: Fix HUD weapon positioning.
This commit is contained in:
parent
7ed32ad5d6
commit
6390efe32e
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ BEGIN_WH_NS
|
|||
|
||||
static void overwritesprite(double thex, double they, int tilenum, int shade, int stat, int dapalnum)
|
||||
{
|
||||
hud_drawsprite(thex, they, 65536, 0, tilenum, shade, dapalnum, stat);
|
||||
int dastat = (((stat & RS_TRANS1) ^ RS_TRANS1) << 4) + (stat & RS_AUTO) + ((stat & RS_YFLIP) >> 2) + RS_NOCLIP +
|
||||
(((stat & RS_TOPLEFT) >> 2) ^ ((stat & RS_NOCLIP) >> 1)) + (stat & RS_ALIGN_L) + (stat & RS_ALIGN_R);
|
||||
hud_drawsprite(thex, they, 65536, (stat & RS_NOCLIP) << 7, tilenum, shade, dapalnum, dastat);
|
||||
}
|
||||
|
||||
void drawweapons(int snum) {
|
||||
|
|
Loading…
Reference in a new issue