From a3776762add62c38ded14989e9831ed5fd792f79 Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 29 Mar 2024 13:39:11 +0000 Subject: [PATCH] DF_ENCORE: Warn about double #definition (aaah??) This was right next to something I needed to modify and I don't want someone to be hurt by it later --- src/g_demo.cpp | 1 + src/k_menu.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/g_demo.cpp b/src/g_demo.cpp index 7b799e9d3..fc35ae11a 100644 --- a/src/g_demo.cpp +++ b/src/g_demo.cpp @@ -171,6 +171,7 @@ demoghost *ghosts = NULL; #define DF_LUAVARS 0x20 // this demo contains extra lua vars +// woah there pardner, if you modify this check k_menu.h too #define DF_ENCORE 0x40 #define DF_MULTIPLAYER 0x80 // This demo was recorded in multiplayer mode! diff --git a/src/k_menu.h b/src/k_menu.h index 186c7350a..17c315aee 100644 --- a/src/k_menu.h +++ b/src/k_menu.h @@ -1147,6 +1147,7 @@ void M_DrawMasterServerReminder(void); void M_DrawEggaChannel(void); // Extras menu: +// woah there pardner, if you modify this check g_demo.cpp too #define DF_ENCORE 0x40 #define M_EXTRAS_OFSTIME 4