From 9ee8022798235c640f13271d4dfad067dbd6542e Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 2 Jun 2018 12:58:15 -0400 Subject: map expansion looks more normal now --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 67be361..24f3829 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -543,7 +543,6 @@ void growMap(Game& game, size_t zoom) game.maxZoom = zoom; - // TODO: is this working properly? for (int y = game.map.getTop(); y < game.map.getBottom(); y++) { for (int x = game.map.getLeft(); x < game.map.getRight(); x++) @@ -560,7 +559,7 @@ void growMap(Game& game, size_t zoom) for (int i = 0; i < 3; i++) { - tick(game, ol, ot, ow, oh, true); + tick(game, ol, ot, ol + ow, ot + oh, true); } } -- cgit 1.4.1