1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-15 23:49:42 +01:00

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 2020-04-30 12:50:45 -07:00 committed by Ethan Lee
parent 92c0f93a6f
commit 5ff4a09acc

View file

@ -1150,6 +1150,8 @@ void mapclass::loadlevel(int rx, int ry)
ypos = 0; ypos = 0;
oldypos = 0; oldypos = 0;
extrarow = 0; extrarow = 0;
spikeleveltop = 0;
spikelevelbottom = 0;
//Custom stuff for warplines //Custom stuff for warplines
obj.customwarpmode=false; obj.customwarpmode=false;