From 06d1fb3ba346d6712206e35a022afcb340b434fd Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 31 May 2018 15:49:58 -0400 Subject: player won't start in the middle of a wall --- src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 2d8adf0..77c4510 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -608,6 +608,15 @@ int main(int, char**) tick(game); tick(game); + + for (int y = -1; y <= 1; y++) + { + for (int x = -1; x <= 1; x++) + { + game.map.at(x,y).tile = Tile::Floor; + } + } + tick(game); bool quit = false; -- cgit 1.4.1