diff --git a/src/doomdata.h b/src/doomdata.h
index 6fe9ea383b8f8a4b2b97aecbba94de7ef13c6991..37e2186fafa2ffaf77d36068304ad10c8fb2a877 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;