mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Make the scuba HUD be affected by hud_weaponscale, tweak for fake multi.
git-svn-id: https://svn.eduke32.com/eduke32@2933 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
04ff274f77
commit
1ac7dd16be
2 changed files with 6 additions and 4 deletions
|
@ -2643,12 +2643,13 @@ void G_DisplayRest(int32_t smoothratio)
|
|||
else
|
||||
{
|
||||
P_DisplayWeapon(screenpeek);
|
||||
|
||||
if (g_fakeMultiMode && ud.multimode==2) // HACK
|
||||
if (pp2) // HACK
|
||||
P_DisplayWeapon(1);
|
||||
|
||||
if (pp->over_shoulder_on == 0)
|
||||
P_DisplayScuba(screenpeek);
|
||||
if (pp2 && pp2->over_shoulder_on == 0) // HACK
|
||||
P_DisplayScuba(1);
|
||||
}
|
||||
G_MoveClouds();
|
||||
}
|
||||
|
|
|
@ -2257,8 +2257,9 @@ void P_DisplayScuba(int32_t snum)
|
|||
{
|
||||
int32_t p = get_hud_pal(g_player[snum].ps);
|
||||
|
||||
rotatesprite_win(43<<16,(200-tilesizy[SCUBAMASK])<<16,65536,0,SCUBAMASK,0,p,2+16);
|
||||
rotatesprite_win((320-43)<<16,(200-tilesizy[SCUBAMASK])<<16,65536,1024,SCUBAMASK,0,p,2+4+16);
|
||||
g_snum = snum;
|
||||
G_DrawTileScaled(43, (200-tilesizy[SCUBAMASK]), SCUBAMASK, 0, 2+16+DRAWEAP_CENTER, p);
|
||||
G_DrawTileScaled(320-43, (200-tilesizy[SCUBAMASK]), SCUBAMASK, 0, 2+4+16+DRAWEAP_CENTER, p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue