diff --git a/desktop_version/src/Map.cpp b/desktop_version/src/Map.cpp index e7c04aaf..0f6ab6f2 100644 --- a/desktop_version/src/Map.cpp +++ b/desktop_version/src/Map.cpp @@ -91,7 +91,6 @@ mapclass::mapclass() scrolldir = 0; check = 0; cmode = 0; - towercol = 0; tdrawback = false; bscroll = 0; roomtexton = false; @@ -632,7 +631,6 @@ void mapclass::updatetowerglow() if (colsuperstate > 0) colstatedelay = 0; tdrawback = true; - towercol = RGB(r*0.04f, g*0.04f, b*0.04f); } else { @@ -670,7 +668,6 @@ void mapclass::nexttowercolour() } tdrawback = true; - towercol = RGB(r*0.04, g*0.04, b*0.04); } void mapclass::settowercolour(int t) @@ -703,7 +700,6 @@ void mapclass::settowercolour(int t) } tdrawback = true; - towercol = RGB(r*0.04, g*0.04, b*0.04); } bool mapclass::spikecollide(int x, int y) diff --git a/desktop_version/src/Map.h b/desktop_version/src/Map.h index 53af2482..963ed8b2 100644 --- a/desktop_version/src/Map.h +++ b/desktop_version/src/Map.h @@ -114,7 +114,6 @@ public: //This is the old colour cycle int r, g,b; int check, cmode; - int towercol; int colstate, colstatedelay; int colsuperstate; int spikeleveltop, spikelevelbottom;