diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 14:48:02 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-30 14:48:02 +0100 |
commit | 6dfa3fb34fb0a2ea028fd46e77296e26b092fb99 (patch) | |
tree | 51257e54561550c91dbec262fe143d4dbe41f059 /frontend/cmd/cheat.cpp | |
parent | 862186ae7cbbd922057fa5f6b49509c36f9ade36 (diff) |
use string instead of argument vector for commands
Diffstat (limited to 'frontend/cmd/cheat.cpp')
-rw-r--r-- | frontend/cmd/cheat.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/cmd/cheat.cpp b/frontend/cmd/cheat.cpp index 6f1c163..aeed5f4 100644 --- a/frontend/cmd/cheat.cpp +++ b/frontend/cmd/cheat.cpp @@ -1,7 +1,9 @@ #include "../Player.h" #include "../print.h" -FollowupAction Player::cmd_cheat(Argv argv) { +using namespace std; + +FollowupAction Player::cmd_cheat(string &) { this->cheating = !this->cheating; lprtf("Cheats staan nu %s.\n", this->cheating ? "aan" : "uit"); return FollowupAction::NONE; |