From 7c1f7aa81cb152e25f672ccb1d4bb109b65729b2 Mon Sep 17 00:00:00 2001 From: FishyClockwork Date: Sun, 30 Oct 2016 20:27:07 +0100 Subject: [PATCH] Restricted custom goodbyes to ZSDF --- src/p_usdf.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/p_usdf.cpp b/src/p_usdf.cpp index a64dc932f..d40c542a1 100644 --- a/src/p_usdf.cpp +++ b/src/p_usdf.cpp @@ -345,7 +345,11 @@ class USDFParser : public UDMFParserBase break; case NAME_Goodbye: - Goodbye = CheckString(key); + // Custom goodbyes are exclusive to namespace ZDoom. [FishyClockwork] + if (namespace_bits == Zd) + { + Goodbye = CheckString(key); + } break; } }