diff options
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index b914d814..d8e6eb02 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -27,6 +27,7 @@ #include "scrollarea.h" #include "listbox.h" #include "../graphic/graphic.h" +#include "../game.h" #include <sstream> @@ -132,9 +133,11 @@ void SellDialog::action(const std::string& eventId) } } setVisible(false); + current_npc = 0; } else if (eventId == "cancel") { setVisible(false); + current_npc = 0; } } |