ref: f9de3f8216ac689ae78c8d061bfc94508b44acb5
parent: 97acb292bb6aaf62ec5bc3a763ea85dc2503bde5
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Jul 12 09:09:08 EDT 2019
Added another bugfix This was causing MSVC debug builds to raise a warning whenever a save was loaded.
--- a/src/Game.cpp
+++ b/src/Game.cpp
@@ -559,6 +559,10 @@
ActBullet();
ActCaret();
MoveFrame3();
+#ifdef FIX_BUGS
+ // ActFlash uses frame_x and frame_y uninitialised
+ GetFramePosition(&frame_x, &frame_y);
+#endif
ActFlash(frame_x, frame_y);
if (g_GameFlags & 2)