From 940822c776ce63cff862aa39ad6dc3b5c4248faa Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 30 Mar 2019 19:35:39 +0000 Subject: [PATCH] Disable Duke3D-specific r_drawweapon behavior in standalone builds git-svn-id: https://svn.eduke32.com/eduke32@7453 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 5d871ba3f..f625f742b 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -2214,11 +2214,13 @@ void P_DisplayWeapon(void) switch (ud.drawweapon) { case 1: break; +#ifndef EDUKE32_STANDALONE case 2: 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, hudweap.cur == GROW_WEAPON ? GROWSPRITEICON : WeaponPickupSprites[hudweap.cur], 0, 0, 2); +#endif default: goto enddisplayweapon; }