diff Mouse.cpp @ 1712:c70d526669ec

Merge
author Ritor1
date Tue, 24 Sep 2013 23:18:57 +0600
parents 8251e59fd7c1
children 633f81bb3ae7
line wrap: on
line diff
--- a/Mouse.cpp	Tue Sep 24 23:18:38 2013 +0600
+++ b/Mouse.cpp	Tue Sep 24 23:18:57 2013 +0600
@@ -374,7 +374,7 @@
   //v1 = this;
   if ( pParty->pPickedItem.uItemID )
   {
-    pTextureID = pIcons_LOD->LoadTexture(pItemsTable->pItems[pParty->pPickedItem.uItemID].pIconName, TEXTURE_16BIT_PALETTE);
+    pTextureID = pIcons_LOD->LoadTexture(pParty->pPickedItem.GetIconName(), TEXTURE_16BIT_PALETTE);
     pTexture = (Texture *)(pTextureID != -1 ? (int)&pIcons_LOD->pTextures[pTextureID] : 0);
 
       v4 = pMouse->uMouseClickX;