aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd/go.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cmd/go.cpp')
-rw-r--r--frontend/cmd/go.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/frontend/cmd/go.cpp b/frontend/cmd/go.cpp
index 75f6345..b8bb7e2 100644
--- a/frontend/cmd/go.cpp
+++ b/frontend/cmd/go.cpp
@@ -1,7 +1,6 @@
#include "backend/Location.h"
#include "backend/Dungeon.h"
#include "backend/Exception.h"
-#include "backend/print.h"
#include "../GameController.h"
#include "../strings.h"
@@ -30,9 +29,7 @@ void GameController::cmd_go(string & argv) {
this->dungeon->update();
- if (!player.is_dead()) {
+ if (!player.is_dead())
player.set_location(*next_location);
- lprtf("Je staat nu bij de locatie %s\n", player.get_location().get_name().c_str());
- }
}