From eb838b6df2e3270c5e05e828e6483373175bd577 Mon Sep 17 00:00:00 2001 From: galaxyhaxz Date: Sun, 17 Jun 2018 05:02:32 -0500 Subject: [PATCH] Fixed last known crashing issue, also themes This one finally fixes it so theme rooms spawn properly --- Source/themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/themes.cpp b/Source/themes.cpp index 5f4bf8e0c..038b3ecc2 100644 --- a/Source/themes.cpp +++ b/Source/themes.cpp @@ -659,7 +659,7 @@ LABEL_23: v17 = themeCount; for ( k = 0; k < themeCount; v13 += 5 ) { - if ( _LOBYTE(themes[k].ttype) == -1 ) + if ( _LOBYTE(themes[k].ttype) == LOBYTE(-1) ) /* char */ { _LOBYTE(v12) = 0; themes[k].ttval = *v13;