shithub: cstory

Download patch

ref: ca1ed4f642052ef66f39c4dbc6f819efcfa0a3d6
parent: 4d3aae328b42973321849ad8dd04dcf2f29459f4
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jul 7 20:39:01 EDT 2020

Restore a lost FIX_BUGS

--- a/src/Back.cpp
+++ b/src/Back.cpp
@@ -30,7 +30,10 @@
 
 	if (fgetc(fp) != 'B' || fgetc(fp) != 'M')
 	{
+#ifdef FIX_BUGS
+		// The original game forgets to close fp
 		fclose(fp);
+#endif
 		return FALSE;
 	}