shithub: cstory

Download patch

ref: e708dc3a7db82d7bacd40b74dbfd99299f9e732a
parent: aa6174b3f21eadb32eb227bb595e74bc3efc8983
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Aug 13 15:48:18 EDT 2019

Make the surface_metadata struct match the original

--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -42,11 +42,11 @@
 // 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