From d8539e4ccac014c306329cda2c8bed036a80af39 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 5 Dec 2007 20:20:25 +0000 Subject: Fix drawing of very high fringe tiles by keeping track of the maximum tile height. --- src/itemshortcut.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/itemshortcut.cpp') diff --git a/src/itemshortcut.cpp b/src/itemshortcut.cpp index c212d506..931ce6f2 100644 --- a/src/itemshortcut.cpp +++ b/src/itemshortcut.cpp @@ -18,10 +18,12 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + * $Id$ */ #include "itemshortcut.h" +#include "item.h" #include "localplayer.h" #include "configuration.h" @@ -51,7 +53,7 @@ void ItemShortcut::load() if (itemId != -1) { - ItemPtr item = player_node->searchForItem(itemId); + Item* item = player_node->searchForItem(itemId); if (item) { mItems[i] = item; -- cgit v1.2.3-70-g09d2