From 5ff4a09acc635058052f7a3ad352e67a84a829e2 Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 30 Apr 2020 12:50:45 -0700 Subject: [PATCH] Reset spikeleveltop and spikelevelbottom in mapclass::loadlevel() Just a small thing, but if you teleported out of a tower with the top/bottom screen spikes being onscreen (by dying, for example), they would retract once you went back in to a tower. Small little thing, but it's a good thing to polish. --- desktop_version/src/Map.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop_version/src/Map.cpp b/desktop_version/src/Map.cpp index 55b15e8d..e2926e01 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -1150,6 +1150,8 @@ void mapclass::loadlevel(int rx, int ry) ypos = 0; oldypos = 0; extrarow = 0; + spikeleveltop = 0; + spikelevelbottom = 0; //Custom stuff for warplines obj.customwarpmode=false;