From 8e8bd67ebf8f02c2a55afc9b451f5d97c44253be Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 4 Nov 2018 23:27:29 +0100 Subject: [PATCH] Correct ThemeStruct --- Source/themes.cpp | 1 - structs.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/themes.cpp b/Source/themes.cpp index dca024477..9533ef85c 100644 --- a/Source/themes.cpp +++ b/Source/themes.cpp @@ -783,7 +783,6 @@ void __fastcall Theme_MonstPit(int t) // - t: theme number (index into themes array). void __fastcall Theme_SkelRoom(int t) { - int xp; int yp; char monstrnd[4] = { 6, 7, 3, 9 }; diff --git a/structs.h b/structs.h index 2f072b6e0..38d2e84b4 100644 --- a/structs.h +++ b/structs.h @@ -1138,8 +1138,8 @@ struct ROOMNODE { ////////////////////////////////////////////////// struct ThemeStruct { - char ttype; /* aligned 4 */ - int ttval; + int ttype; /* aligned 4 */ + char ttval; }; //////////////////////////////////////////////////