diff options
author | Andrej Sinicyn <andrej4000@gmail.com> | 2005-08-02 22:42:21 +0000 |
---|---|---|
committer | Andrej Sinicyn <andrej4000@gmail.com> | 2005-08-02 22:42:21 +0000 |
commit | ffce96d70949fa57cf512edcd3429b0fdf71a61b (patch) | |
tree | 2b72c5b4d7c12b19c2286523034ebfb6b11c511f /src/gui | |
parent | bb2a8884e394094da40f82886eacb21c1f798eaf (diff) | |
download | mana-ffce96d70949fa57cf512edcd3429b0fdf71a61b.tar.gz mana-ffce96d70949fa57cf512edcd3429b0fdf71a61b.tar.bz2 mana-ffce96d70949fa57cf512edcd3429b0fdf71a61b.tar.xz mana-ffce96d70949fa57cf512edcd3429b0fdf71a61b.zip |
Fix my previous fix because it broke my own code.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/requesttrade.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/requesttrade.cpp b/src/gui/requesttrade.cpp index ce6ccb56..151a7514 100644 --- a/src/gui/requesttrade.cpp +++ b/src/gui/requesttrade.cpp @@ -23,6 +23,7 @@ #include "requesttrade.h" #include "button.h" +#include "../game.h" #include "../net/network.h" RequestTradeDialog::RequestTradeDialog(const char *name): @@ -90,6 +91,7 @@ void RequestTradeDialog::action(const std::string& eventId) WFIFOW(0) = net_w_value(0x00e6); WFIFOB(2) = net_b_value(4); WFIFOSET(3); + requestTradeDialogOpen = false; scheduleDelete(); } } |