PCExhumed: Remove unused moveTimer variable from menu_DrawTheMap

(minor addition to world map code fixes and tidying from Oct 14).

# Conflicts:
#	source/exhumed/src/menu.cpp
This commit is contained in:
NY00123 2020-01-06 22:24:40 +02:00 committed by Christoph Oelckers
parent bb020c15f1
commit 86503338ec

View file

@ -692,8 +692,6 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
startTime = (int)totalclock; startTime = (int)totalclock;
} }
int moveTimer = (int)totalclock;
int tileY = curYPos; int tileY = curYPos;
// Draw the background screens // Draw the background screens
@ -763,7 +761,6 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
{ {
bFadeDone = kTrue; bFadeDone = kTrue;
FadeIn(); FadeIn();
moveTimer = (int)totalclock;
} }
if (curYPos == destYPos) if (curYPos == destYPos)
@ -825,8 +822,6 @@ int menu_DrawTheMap(int nLevel, int nLevelNew, int nLevelBest)
runtimer = (int)totalclock; runtimer = (int)totalclock;
} }
//curYPos += var_2C * (((int)totalclock - moveTimer) / 2);
if (inputState.CheckAllInput()) if (inputState.CheckAllInput())
{ {
if (var_2C < 8) { if (var_2C < 8) {