diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-02 21:10:27 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-02 21:10:27 +0100 |
commit | d554cb39a2f1ec97dd214a5dd200ae5f03cf616d (patch) | |
tree | ba52e12e1791592ee7634b6a3e190d9bba950860 /frontend/cmd | |
parent | b4507b3601bedcaa599673b9f9083d1574132157 (diff) |
cleanup
Diffstat (limited to 'frontend/cmd')
-rw-r--r-- | frontend/cmd/equip.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/cmd/equip.cpp b/frontend/cmd/equip.cpp index 72795a8..b8caad8 100644 --- a/frontend/cmd/equip.cpp +++ b/frontend/cmd/equip.cpp @@ -16,6 +16,7 @@ void GameController::cmd_equip(string & target_name) { Object & object = **it; player.equip(&object); + player.inventory.remove(&object); this->dungeon->update(); } |