From e708dc3a7db82d7bacd40b74dbfd99299f9e732a Mon Sep 17 00:00:00 2001 From: Clownacy Date: Tue, 13 Aug 2019 19:48:18 +0100 Subject: [PATCH] Make the surface_metadata struct match the original --- src/Draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Draw.cpp b/src/Draw.cpp index 3213a590..e1715e04 100644 --- a/src/Draw.cpp +++ b/src/Draw.cpp @@ -42,11 +42,11 @@ static FontObject *gFont; // This doesn't exist in the Linux port, so none of these symbol names are accurate static struct { - SurfaceType type; + char name[20]; unsigned int width; unsigned int height; + SurfaceType type; BOOL bSystem; // Basically a 'do not regenerate' flag - char name[0x20]; } surface_metadata[SURFACE_ID_MAX]; #define FRAMERATE 20