From 308e722a1b3fc34ade98e88b050a024cbd2c9f78 Mon Sep 17 00:00:00 2001 From: Jan-Fabian Humann Date: Thu, 12 May 2005 18:34:52 +0000 Subject: trade fixes as usual + quit dialog pops up now instead of being under other windows --- src/game.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 18ef46a0..1ec08e0c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -289,6 +289,7 @@ void do_input() if (event.key.keysym.sym == SDLK_ESCAPE) { quitDialog->setVisible(true); + quitDialog->requestMoveToTop(); } if (keysym.sym == SDLK_g && !chatWindow->isFocused()) @@ -815,7 +816,7 @@ void do_parse() break; // Trade: Item added on trade partner's side case 0x00e9: - // todo: + // TODO: // Maybe also handle identified, etc // handle zeny as well @@ -835,7 +836,7 @@ void do_parse() inventoryWindow->unequipItem(RFIFOW(2)); } } - + //TODO: Fix this lines (to handle correct quantity) tradeWindow->addItem( tradeWindow->myItems->getFreeSlot(), inventoryWindow->items->getId(RFIFOW(2)), -- cgit v1.2.3-60-g2f50