From c430b75e370a21a17f80d4ba3acd84111828a462 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 20:08:44 +0300 Subject: add const for methods return values. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 40585df95..6bae44e49 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -629,7 +629,7 @@ void Game::slowLogic() if (viewport && !errorMessage.empty()) { - const Map *const map = viewport->getCurrentMap(); + const Map *const map = viewport->getMap(); if (map) { logger->log("state: %d", client->getState()); -- cgit v1.2.3-70-g09d2