diff UI/UiGame.cpp @ 2186:7a517c9a1d5b

CastSpell continue
author Ritor1
date Mon, 27 Jan 2014 17:33:34 +0600
parents e1e4a8a20b5f
children 9856c2f8f918
line wrap: on
line diff
--- a/UI/UiGame.cpp	Mon Jan 27 00:13:01 2014 +0600
+++ b/UI/UiGame.cpp	Mon Jan 27 17:33:34 2014 +0600
@@ -978,15 +978,15 @@
 //----- (0041AEBB) --------------------------------------------------------
 void GameUI_DrawFoodAndGold()
 {
-  int v2; // esi@2
+  int text_y; // esi@2
 
   if ( uGameState != GAME_STATE_FINAL_WINDOW )
   {
-    v2 = sub_44100D() != 0 ? 381 : 322;
+    text_y = sub_44100D() != 0 ? 381 : 322;
     sprintf(pTmpBuf.data(), "\r087%lu", pParty->uNumFoodRations);
-    pPrimaryWindow->DrawText(pFontSmallnum, 0, v2, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow);
+    pPrimaryWindow->DrawText(pFontSmallnum, 0, text_y, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow);
     sprintf(pTmpBuf.data(), "\r028%lu", pParty->uNumGold);
-    pPrimaryWindow->DrawText(pFontSmallnum, 0, v2, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow);
+    pPrimaryWindow->DrawText(pFontSmallnum, 0, text_y, uGameUIFontMain, pTmpBuf.data(), 0, 0, uGameUIFontShadow);
   }
 }