diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-05 18:59:31 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-04-05 18:59:31 +0000 |
commit | 4ad7728354539e0e677471fa1d1a563792b1c969 (patch) | |
tree | 5c3b355bc3791b4459631441d317154f3d140900 /src/game.cpp | |
parent | e878866904d348c1567051e5a470c68f4fccab56 (diff) | |
download | mana-4ad7728354539e0e677471fa1d1a563792b1c969.tar.gz mana-4ad7728354539e0e677471fa1d1a563792b1c969.tar.bz2 mana-4ad7728354539e0e677471fa1d1a563792b1c969.tar.xz mana-4ad7728354539e0e677471fa1d1a563792b1c969.zip |
Fix getting stuck when trying to sell with empty inventory.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 7f0ec123..fb4fd8c2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1091,6 +1091,7 @@ void do_parse() { } else { chatWindow->chat_log("Nothing to sell", BY_SERVER); + current_npc = 0; } break; // Answer to buy |