diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index a36c56f..edde71e 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -151,9 +151,9 @@ void Game::playerDie(Entity& player, const Map& curMap) | |||
151 | playSound("../res/Hit_Hurt5.wav", 0.25); | 151 | playSound("../res/Hit_Hurt5.wav", 0.25); |
152 | 152 | ||
153 | schedule(0.75, [&] () { | 153 | schedule(0.75, [&] () { |
154 | if (curMap != *(save.map)) | 154 | if (curMap != *save.map) |
155 | { | 155 | { |
156 | loadMap(*(save.map)); | 156 | loadMap(*save.map); |
157 | } | 157 | } |
158 | 158 | ||
159 | player.position = save.position; | 159 | player.position = save.position; |