changeset 1501:5e601a07010d

UIGame.cpp cleaning(continue)
author Ritor1
date Sun, 01 Sep 2013 17:41:00 +0600
parents fd6c580a02b7
children ee5c98a437d9 5cc08e71a308
files UI/UiGame.cpp
diffstat 1 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/UI/UiGame.cpp	Sun Sep 01 17:36:29 2013 +0600
+++ b/UI/UiGame.cpp	Sun Sep 01 17:41:00 2013 +0600
@@ -1263,8 +1263,7 @@
       if ( v18 >= (signed int)0x2000000u || pParty->pPickedItem.uItemID )
       {
         v22 = pSpriteObjects[v30].stru_24.GetDisplayName();
-        v26 = v22;
-        GameUI_SetFooterString(v26);
+        GameUI_SetFooterString(v22);
         if ( pMouse->uPointingObjectID == 0 )
         {
           if ( uLastPointedObjectID != 0 )
@@ -1321,8 +1320,7 @@
             uLastPointedObjectID = pMouse->uPointingObjectID;
             return;
           }
-          v26 = v22;
-          GameUI_SetFooterString(v26);
+          GameUI_SetFooterString(v22);
           if ( pMouse->uPointingObjectID == 0 )
           {
             if ( uLastPointedObjectID != 0 )
@@ -1340,7 +1338,7 @@
           {
             if ( uCurrentlyLoadedLevelType != LEVEL_Indoor)
             {
-			  v18b = (signed int)(unsigned __int16)v18 >> 9;
+              v18b = (signed int)(unsigned __int16)v18 >> 9;
               v21 = pOutdoor->pBModels[v18b].pFaces[v19 & 0x3F].sCogTriggeredID;
               if ( !v21 || (v22 = GetEventHintString(v21)) == 0 )
               {
@@ -1357,8 +1355,7 @@
                 uLastPointedObjectID = pMouse->uPointingObjectID;
                 return;
               }
-              v26 = v22;
-              GameUI_SetFooterString(v26);
+              GameUI_SetFooterString(v22);
               if ( pMouse->uPointingObjectID == 0 )
               {
                 if ( uLastPointedObjectID != 0 )
@@ -1389,8 +1386,7 @@
                 uLastPointedObjectID = pMouse->uPointingObjectID;
                 return;
               }
-              v26 = v22;
-              GameUI_SetFooterString(v26);
+              GameUI_SetFooterString(v22);
               if ( pMouse->uPointingObjectID == 0 )
               {
                 if ( uLastPointedObjectID != 0 )