From eb6cae8810f3db2d836f187eee40f2614b9d8242 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 23 Sep 2020 22:02:22 +0200 Subject: [PATCH] fixed crash on initialization of monster() --- shmup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shmup.cpp b/shmup.cpp index f22c368b..0f6f7c2c 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -77,7 +77,7 @@ struct monster { monster() { dead = false; inBoat = false; parent = NULL; nextshot = 0; stunoff = 0; blowoff = 0; footphase = 0; no_targetting = false; - swordangle = 0; inertia = Hypc; if(prod) ori = Id; + swordangle = 0; inertia = Hypc; ori = Id; } void store();