diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2006-02-05 19:00:43 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2006-02-05 19:00:43 +0000 |
commit | 851ca8b9be55db5d2d2f596097f6196ef5ef6c0b (patch) | |
tree | 058a136c8e5ae206a0a81a15a3a5f9dee6581067 /src/net | |
parent | 9d12db6aa73611eb221e7b6d9a522aecf8ae67cd (diff) | |
download | mana-851ca8b9be55db5d2d2f596097f6196ef5ef6c0b.tar.gz mana-851ca8b9be55db5d2d2f596097f6196ef5ef6c0b.tar.bz2 mana-851ca8b9be55db5d2d2f596097f6196ef5ef6c0b.tar.xz mana-851ca8b9be55db5d2d2f596097f6196ef5ef6c0b.zip |
Fixed a gcc 4.0 issue in the tradehandler. Strengthened the xml parser in the itemmanager so tmw doesn't crash anymore if an item lacks some parameters.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tradehandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tradehandler.cpp b/src/net/tradehandler.cpp index 5675fab8..940c3e09 100644 --- a/src/net/tradehandler.cpp +++ b/src/net/tradehandler.cpp @@ -80,7 +80,8 @@ void TradeHandler::handleMessage(MessageIn *msg) player_node->setTrading(true); tradePartnerName = msg->readString(24); - ConfirmDialog *dlg = new ConfirmDialog("Request for trade", + ConfirmDialog *dlg; + dlg = new ConfirmDialog("Request for trade", tradePartnerName + " wants to trade with you, do you accept?"); dlg->addActionListener(&requestTradeListener); |