From db71bb9ba7346b9f43e7bb81297a3201966a5194 Mon Sep 17 00:00:00 2001 From: NY00123 Date: Sun, 17 May 2020 21:08:20 +0300 Subject: [PATCH] source/duke3d/src/gamevars.cpp: Remove LUNATIC definition of ADDWEAPONVAR # Conflicts: # source/duke3d/src/gamevars.cpp --- source/duke3d/src/gamevars.cpp | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/source/duke3d/src/gamevars.cpp b/source/duke3d/src/gamevars.cpp index bc607e2fa..a4939d7c1 100644 --- a/source/duke3d/src/gamevars.cpp +++ b/source/duke3d/src/gamevars.cpp @@ -1059,22 +1059,12 @@ static int32_t G_StaticToDynamicSound(int32_t const sound) } } -// Initialize WEAPONx_* gamevars. Since for Lunatic, they reside on the C side, -// they're set directly. In C-CON, a new CON variable is defined together with -// its initial value. -#ifdef LUNATIC -# define ADDWEAPONVAR(Weapidx, Membname) do { \ - int32_t j; \ - for (j=0; j