summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
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)
543 543
544 game.maxZoom = zoom; 544 game.maxZoom = zoom;
545 545
546 // TODO: is this working properly?
547 for (int y = game.map.getTop(); y < game.map.getBottom(); y++) 546 for (int y = game.map.getTop(); y < game.map.getBottom(); y++)
548 { 547 {
549 for (int x = game.map.getLeft(); x < game.map.getRight(); x++) 548 for (int x = game.map.getLeft(); x < game.map.getRight(); x++)
@@ -560,7 +559,7 @@ void growMap(Game& game, size_t zoom)
560 559
561 for (int i = 0; i < 3; i++) 560 for (int i = 0; i < 3; i++)
562 { 561 {
563 tick(game, ol, ot, ow, oh, true); 562 tick(game, ol, ot, ol + ow, ot + oh, true);
564 } 563 }
565} 564}
566 565