diff UIPopup.cpp @ 816:cfc65feef029

* Player Recovery Times * Player Attack fixes * Debug log to timers
author Nomad
date Tue, 26 Mar 2013 12:40:27 +0200
parents 7bb33867d2cb
children 9359c114f98c
line wrap: on
line diff
--- a/UIPopup.cpp	Tue Mar 26 06:40:04 2013 +0200
+++ b/UIPopup.cpp	Tue Mar 26 12:40:27 2013 +0200
@@ -406,8 +406,8 @@
     //v20 = item_desc->uEquipType;
     switch (item_desc->uEquipType)
         {
-    case EQUIP_ONE_OR_TWO_HANDS:
-    case EQUIP_TWO_HANDED:
+    case EQUIP_OFF_HAND:
+    case EQUIP_MAIN_HAND:
         sprintfex(out_text + 100, "%s: +%d   %s: %dd%d", pGlobalTXT_LocalizationStrings[LOCSTR_ATTACK],
             (int)item_desc->uDamageMod, pGlobalTXT_LocalizationStrings[53], (int)item_desc->uDamageDice, (int)item_desc->uDamageRoll); //"Damage"
         if (item_desc->uDamageMod)
@@ -1430,8 +1430,8 @@
 
 
 //----- (00417BB5) --------------------------------------------------------
-const char *__fastcall CharacterUI_GetSkillDescText(unsigned int uPlayerID, enum PLAYER_SKILL_TYPE uPlayerSkillType)
-    {
+const char *__fastcall CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType)
+{
     //enum PLAYER_SKILL_TYPE v2; // esi@1
     //unsigned int v3; // ebx@1
     int v4; // edi@1