From 470e9afe225612fc932716fbf3433d89f096d653 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 29 Jan 2020 11:36:20 +0000 Subject: [PATCH] Macro safety git-svn-id: https://svn.eduke32.com/eduke32@8545 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/player.h b/source/duke3d/src/player.h index f73bef081..670b4364b 100644 --- a/source/duke3d/src/player.h +++ b/source/duke3d/src/player.h @@ -36,7 +36,7 @@ extern int32_t g_mostConcurrentPlayers; #define NAM_GRENADE_LIFETIME 120 #define NAM_GRENADE_LIFETIME_VAR 30 -#define HORIZ_MIN -99 +#define HORIZ_MIN (-99) #define HORIZ_MAX 299 #define AUTO_AIM_ANGLE 48 #define PHEIGHT (38<<8) @@ -52,7 +52,7 @@ extern int32_t g_mostConcurrentPlayers; #define PIPEBOMB_REMOTE 0x00000001 #define PIPEBOMB_TIMER 0x00000002 -#define WEAPON_POS_LOWER -9 +#define WEAPON_POS_LOWER (-9) #define WEAPON_POS_RAISE 10 #define WEAPON_POS_START 6