changeset 330:2503214e5258

m
author Ritor1
date Tue, 19 Feb 2013 22:37:39 +0600
parents 4776715a964b
children 72de4ad353c6
files Player.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Player.cpp	Mon Feb 18 20:47:41 2013 +0600
+++ b/Player.cpp	Tue Feb 19 22:37:39 2013 +0600
@@ -6822,14 +6822,14 @@
 {
   __int16 uWhite; // si@1
   int attribute_value; // edx@1
-  unsigned __int8 v8; // of@1
+  unsigned __int8 pBaseValue; // of@1
   __int16 uGreen; // [sp+8h] [bp-8h]@1
   __int16 uRed; // [sp+Ch] [bp-4h]@1
 
   uRed = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0x23u, 0);
   uGreen = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0, 0xFFu, 0);
   uWhite = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(0xFFu, 0xFFu, 0xFFu);
-  v8 = StatTable[GetRace()][uStat].uBaseValue;
+  pBaseValue = StatTable[GetRace()][uStat].uBaseValue;
 
   switch (uStat)
   {
@@ -6842,9 +6842,9 @@
     case 6:  attribute_value = uLuck;         break;
   };
 
-  if ( attribute_value == v8 )
+  if ( attribute_value == pBaseValue )
     return uWhite;
-  else if ( attribute_value > v8 )
+  else if ( attribute_value > pBaseValue )
     return uGreen;
   else
     return uRed;