mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Disable Duke3D-specific r_drawweapon behavior in standalone builds
git-svn-id: https://svn.eduke32.com/eduke32@7453 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c8bd436cf8
commit
940822c776
1 changed files with 2 additions and 0 deletions
|
@ -2214,11 +2214,13 @@ void P_DisplayWeapon(void)
|
||||||
switch (ud.drawweapon)
|
switch (ud.drawweapon)
|
||||||
{
|
{
|
||||||
case 1: break;
|
case 1: break;
|
||||||
|
#ifndef EDUKE32_STANDALONE
|
||||||
case 2:
|
case 2:
|
||||||
if ((unsigned)hudweap.cur < MAX_WEAPONS && hudweap.cur != KNEE_WEAPON)
|
if ((unsigned)hudweap.cur < MAX_WEAPONS && hudweap.cur != KNEE_WEAPON)
|
||||||
rotatesprite_win(160 << 16, (180 + (pPlayer->weapon_pos * pPlayer->weapon_pos)) << 16, divscale16(ud.statusbarscale, 100), 0,
|
rotatesprite_win(160 << 16, (180 + (pPlayer->weapon_pos * pPlayer->weapon_pos)) << 16, divscale16(ud.statusbarscale, 100), 0,
|
||||||
hudweap.cur == GROW_WEAPON ? GROWSPRITEICON : WeaponPickupSprites[hudweap.cur], 0,
|
hudweap.cur == GROW_WEAPON ? GROWSPRITEICON : WeaponPickupSprites[hudweap.cur], 0,
|
||||||
0, 2);
|
0, 2);
|
||||||
|
#endif
|
||||||
default: goto enddisplayweapon;
|
default: goto enddisplayweapon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue