diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-06-02 12:58:15 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-06-02 12:58:15 -0400 |
commit | 9ee8022798235c640f13271d4dfad067dbd6542e (patch) | |
tree | 7358cef4c2bb6de5c2fdbaf3da16aae7d9ed7768 /src | |
parent | 91dd78d4c963dbcc596e44bf6991c40bb2df90cb (diff) | |
download | ether-9ee8022798235c640f13271d4dfad067dbd6542e.tar.gz ether-9ee8022798235c640f13271d4dfad067dbd6542e.tar.bz2 ether-9ee8022798235c640f13271d4dfad067dbd6542e.zip |
map expansion looks more normal now
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
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 | ||