summary refs log tree commit diff stats
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index e2c1b9c..b149392 100644 --- a/src/game.cpp +++ b/src/game.cpp
@@ -118,7 +118,6 @@ void Game::loadMap(const Map& map)
118 118
119 nextEntities.clear(); 119 nextEntities.clear();
120 nextEntities.push_back(mapEn); 120 nextEntities.push_back(mapEn);
121 nextEntities.push_back(player);
122 121
123 // this is cheating but is just for testing 122 // this is cheating but is just for testing
124 if (&map == &m2) 123 if (&map == &m2)
@@ -143,6 +142,8 @@ void Game::loadMap(const Map& map)
143 nextEntities.push_back(saveEn); 142 nextEntities.push_back(saveEn);
144 } 143 }
145 144
145 nextEntities.push_back(player);
146
146 newWorld = true; 147 newWorld = true;
147} 148}
148 149