From 81d0632099c098045b2fe7def9ea91f4642e18ea Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 18 Nov 2018 18:12:38 +0000 Subject: [PATCH] These changes aren't particularly meaningful git-svn-id: https://svn.eduke32.com/eduke32@7215 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/game.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/game.h b/source/duke3d/src/game.h index 0a6fb6ad0..dd6a80006 100644 --- a/source/duke3d/src/game.h +++ b/source/duke3d/src/game.h @@ -410,9 +410,9 @@ void fadepal(int32_t r,int32_t g,int32_t b,int32_t start,int32_t end,int32_t ste //void fadepaltile(int32_t r,int32_t g,int32_t b,int32_t start,int32_t end,int32_t step,int32_t tile); void G_InitTimer(int32_t ticspersec); -static inline int32_t G_GetTeamPalette(int32_t team) +static inline int G_GetTeamPalette(int team) { - int8_t pal[] = { 3, 10, 11, 12 }; + static CONSTEXPR int8_t pal[] = { 3, 10, 11, 12 }; if ((unsigned)team >= ARRAY_SIZE(pal)) return 0; @@ -560,7 +560,7 @@ static inline int G_GetViewscreenSizeShift(const uspritetype *tspr) static const int mask = (1<xrepeat & mask) | (tspr->yrepeat & mask); - for (bssize_t i=0; i < VIEWSCREENFACTOR; i++) + for (int i=0; i < VIEWSCREENFACTOR; i++) if (rem & (1<