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.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-06-19 09:05:48 -04:00
1 parent 92c0f93a6f
commit 5ff4a09acc
1 file changed
+2
+2
View File
@@ -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;