diff Party.cpp @ 1712:c70d526669ec

Merge
author Ritor1
date Tue, 24 Sep 2013 23:18:57 +0600
parents 8251e59fd7c1
children cecb080929c4
line wrap: on
line diff
--- a/Party.cpp	Tue Sep 24 23:18:38 2013 +0600
+++ b/Party.cpp	Tue Sep 24 23:18:57 2013 +0600
@@ -1422,7 +1422,7 @@
   if ( !pParty->pPickedItem.uItemID )
     return 1;
   v0 = pIcons_LOD->LoadTexture(
-         pItemsTable->pItems[pParty->pPickedItem.uItemID].pIconName,
+         pParty->pPickedItem.GetIconName(),
          TEXTURE_16BIT_PALETTE);
   v1 = pIcons_LOD->GetTexture(v0);
   v11 = areWeLoadingTexture;