From 3eb640658fd0db31fb59208d803bdf046d270954 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 31 Dec 2021 13:12:20 +0100 Subject: [PATCH] - don't typedef MATTGAMEVAR --- source/games/duke/src/gamevar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/gamevar.h b/source/games/duke/src/gamevar.h index 65d7f4152..f5da6c3d5 100644 --- a/source/games/duke/src/gamevar.h +++ b/source/games/duke/src/gamevar.h @@ -128,7 +128,7 @@ enum }; -typedef struct +struct MATTGAMEVAR { union { @@ -141,7 +141,7 @@ typedef struct GameVarValue initValue; // this is what gets copied to players/actors upon spawn. This is not the same as the default! unsigned int dwFlags; char szLabel[MAXVARLABEL]; -} MATTGAMEVAR; +}; extern MATTGAMEVAR aGameVars[MAXGAMEVARS]; extern int iGameVarCount;