diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-22 19:36:19 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-22 19:36:19 +0000 |
commit | 4852d95f4bd03f2e258744e2dc7ef91d4aa9f349 (patch) | |
tree | 9e0efde60adf4b96395290495062d63f9046b45e /src/game.cpp | |
parent | 2a1af1a5dbcca1c890f38f20385e5d2639fd48db (diff) | |
download | mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.tar.gz mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.tar.bz2 mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.tar.xz mana-4852d95f4bd03f2e258744e2dc7ef91d4aa9f349.zip |
requestTradeDialog is modal now
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index ee52b0c3..3865b575 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -37,6 +37,7 @@ #include "gui/stats.h" #include "gui/ok_dialog.h" #include "gui/confirm_dialog.h" +#include "gui/requesttrade.h" #include "net/protocol.h" #include "resources/mapreader.h" #include <SDL.h> @@ -786,8 +787,7 @@ void do_parse() // Trade: Receiving a request to trade case 0x00e5: - //printf("Getting a call from %s\n", RFIFOP(2)); - requestTradeDialog->request(RFIFOP(2)); + new RequestTradeDialog(RFIFOP(2)); break; // Trade: Response |