diff mm7_2.cpp @ 2197:42c8807225a2

UIMSG_SpellBook_PressTab continue
author Ritor1
date Fri, 31 Jan 2014 17:30:36 +0600
parents 70b63fe6587c
children ff8920a40c21
line wrap: on
line diff
--- a/mm7_2.cpp	Fri Jan 31 00:37:26 2014 +0100
+++ b/mm7_2.cpp	Fri Jan 31 17:30:36 2014 +0600
@@ -137,13 +137,13 @@
         memset(player->pConditions.data(), 0, 0xA0u);
 
         __debugbreak();
-        *(int *)&player->pActiveSkills[8] = v5;
-        *(int *)&player->pActiveSkills[10] = v6;
+        *(int *)&player->pActiveSkills[PLAYER_SKILL_SHIELD] = v5;
+        *(int *)&player->pActiveSkills[PLAYER_SKILL_CHAIN] = v6;
       }
     }
     break;
 
-    case Cook:
+    case Cook://Повар
     {
       if (pParty->uNumFoodRations >= 13)
         return 1;