diff GUI/UI/UiGame.cpp @ 2566:30eb6dcac768

big spell fx overhaul
author a.parshin
date Wed, 20 May 2015 21:05:07 +0200
parents f2a8ed07e921
children d87bfbd3bb3b
line wrap: on
line diff
--- a/GUI/UI/UiGame.cpp	Wed May 20 15:12:33 2015 +0200
+++ b/GUI/UI/UiGame.cpp	Wed May 20 21:05:07 2015 +0200
@@ -1583,11 +1583,11 @@
         }
         if ( pickedObjectPID >= 0x2000000u || pParty->pPickedItem.uItemID )
         {
-          GameUI_SetFooterString(pSpriteObjects[pickedObjectID].stru_24.GetDisplayName());
+            GameUI_SetFooterString(pSpriteObjects[pickedObjectID].containing_item.GetDisplayName());
         }
         else
         {
-          sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[470], pSpriteObjects[pickedObjectID].stru_24.GetDisplayName());// "Get %s"
+            sprintfex(pTmpBuf.data(), pGlobalTXT_LocalizationStrings[470], pSpriteObjects[pickedObjectID].containing_item.GetDisplayName());// "Get %s"
           GameUI_SetFooterString(pTmpBuf.data());
         } //intentional fallthrough
       }