From d7b4b05d9ad79a41165ff19bfed148b25193238d Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Tue, 28 Mar 2017 21:30:31 +0100
Subject: [PATCH] Fix remaining mixed-declaration-and-code issue detected when
 compiling

---
 src/m_cond.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/m_cond.c b/src/m_cond.c
index 14d678d8e9..7f977c15d8 100644
--- a/src/m_cond.c
+++ b/src/m_cond.c
@@ -970,6 +970,7 @@ UINT8 M_CompletionEmblems(void) // Bah! Duplication sucks, but it's for a separa
 	INT16 levelnum;
 	UINT8 res;
 	UINT8 somethingUnlocked = 0;
+	UINT8 flags;
 
 	for (i = 0; i < numemblems; ++i)
 	{
@@ -978,8 +979,7 @@ UINT8 M_CompletionEmblems(void) // Bah! Duplication sucks, but it's for a separa
 
 		levelnum = emblemlocations[i].level;
 		embtype = emblemlocations[i].var;
-		
-		UINT8 flags = MV_BEATEN;
+		flags = MV_BEATEN;
 		
 		if (embtype & ME_ALLEMERALDS)
 			flags |= MV_ALLEMERALDS;
-- 
GitLab