comparison Player.cpp @ 994:3431f6abc786

GameUI clean
author Nomad
date Tue, 14 May 2013 12:35:06 +0200
parents 087a9af8e0ec
children 5876a9cafa3e
comparison
equal deleted inserted replaced
993:ada1ed5f44a1 994:3431f6abc786
3271 unsigned int Player::GetExperienceDisplayColor() 3271 unsigned int Player::GetExperienceDisplayColor()
3272 { 3272 {
3273 unsigned int result; // eax@2 3273 unsigned int result; // eax@2
3274 3274
3275 if ( CanTrainToNextLevel() ) 3275 if ( CanTrainToNextLevel() )
3276 result = TargetColor(0, 0xFFu, 0); 3276 result = ui_color_text_bonus;
3277 else 3277 else
3278 result = 0; 3278 result = ui_color_text_default;
3279 return result; 3279 return result;
3280 } 3280 }
3281 3281
3282 //----- (0048D4B3) -------------------------------------------------------- 3282 //----- (0048D4B3) --------------------------------------------------------
3283 int Player::CalculateIncommingDamage(int resistance, signed int type) 3283 int Player::CalculateIncommingDamage(int resistance, signed int type)