diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 22:47:42 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-01 22:47:42 +0100 |
commit | 07796bea15a2d5f43766f062379b63fc9e9e1b5d (patch) | |
tree | 2d398f161a9a933176f50779ff164e76c3871f43 /frontend/cmd/go.cpp | |
parent | af76b9a0ae58dc8c87548053a5bc310ad6be25ce (diff) |
WIP consumables
Diffstat (limited to 'frontend/cmd/go.cpp')
-rw-r--r-- | frontend/cmd/go.cpp | 5 |
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()); - } } |