From 1e4eab77a6c9b801806b9da314f24249cfa1b4a7 Mon Sep 17 00:00:00 2001 From: Nev3r Date: Sun, 19 Apr 2020 18:34:00 +0200 Subject: [PATCH] Use fixed_t on the mapthing scale for the sake of coherence. --- src/doomdata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doomdata.h b/src/doomdata.h index 6fe9ea383..37e2186fa 100644 --- a/src/doomdata.h +++ b/src/doomdata.h @@ -23,6 +23,8 @@ // Some global defines, that configure the game. #include "doomdef.h" +#include "m_fixed.h" // See the mapthing_t scale. + // // Map level types. // The following data structures define the persistent format @@ -203,7 +205,7 @@ typedef struct UINT16 options; INT16 z; UINT8 extrainfo; - INT32 scale; + fixed_t scale; INT16 tag; struct mobj_s *mobj; } mapthing_t;