summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-05 18:59:31 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-05 18:59:31 +0000
commit4ad7728354539e0e677471fa1d1a563792b1c969 (patch)
tree5c3b355bc3791b4459631441d317154f3d140900 /src
parente878866904d348c1567051e5a470c68f4fccab56 (diff)
downloadmana-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')
-rw-r--r--src/game.cpp1
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