diff --git a/src/m_cond.c b/src/m_cond.c index 14d678d8e926a00e044cbc2214af39c499bd2af5..7f977c15d815b73b972094b805f4a28a6f0128d7 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;