mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-17 13:00:51 +00:00
- removed the 8 pixel offset for the Scuba Gear in display modes with reduced viewport size.
I have no idea why this was originally done, it makes no sense. Fixes #50
This commit is contained in:
parent
94b445db26
commit
63f4d82aeb
1 changed files with 2 additions and 10 deletions
|
@ -194,19 +194,11 @@ void displaymasks_d(int snum)
|
||||||
p = sector[ps[snum].cursectnum].floorpal;
|
p = sector[ps[snum].cursectnum].floorpal;
|
||||||
|
|
||||||
if (ps[snum].scuba_on)
|
if (ps[snum].scuba_on)
|
||||||
{
|
|
||||||
if (hud_size < 9)
|
|
||||||
{
|
|
||||||
hud_drawsprite(44, (200 - 8 - tilesiz[SCUBAMASK].y), 65536, 0, SCUBAMASK, 0, p, 2 + 16);
|
|
||||||
hud_drawsprite((320 - 43), (200 - 8 - tilesiz[SCUBAMASK].y), 65536, 0, SCUBAMASK, 0, p, 2 + 4 + 16);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
hud_drawsprite(44, (200 - tilesiz[SCUBAMASK].y), 65536, 0, SCUBAMASK, 0, p, 2 + 16);
|
hud_drawsprite(44, (200 - tilesiz[SCUBAMASK].y), 65536, 0, SCUBAMASK, 0, p, 2 + 16);
|
||||||
hud_drawsprite((320 - 43), (200 - tilesiz[SCUBAMASK].y), 65536, 0, SCUBAMASK, 0, p, 2 + 4 + 16);
|
hud_drawsprite((320 - 43), (200 - tilesiz[SCUBAMASK].y), 65536, 0, SCUBAMASK, 0, p, 2 + 4 + 16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue