diff UI/UiGame.cpp @ 1666:5302a9811767

MainMenuUI_Create() cleared
author Ritor1
date Wed, 18 Sep 2013 16:20:15 +0600
parents 620b6ba3e6b8
children f3986fd1a122
line wrap: on
line diff
--- a/UI/UiGame.cpp	Wed Sep 18 14:53:59 2013 +0600
+++ b/UI/UiGame.cpp	Wed Sep 18 16:20:15 2013 +0600
@@ -348,7 +348,6 @@
   int pTextHeight; // esi@39
   GUIButton *pButton; // eax@43
   int v32; // ebx@93
-  //uint v35; // esi@93
   int v38; // eax@95
   signed int v39; // esi@99
   signed int v40; // eax@102
@@ -390,7 +389,7 @@
   switch (uDialogueType)
   {
     case DIALOGUE_13:
-      pInString = BuildDialogueString(pNPCStats->pProfessions[pNPC->uProfession - 1].pJoinText, uActiveCharacter - 1, 0, 0, 0, 0);
+      pInString = BuildDialogueString(pNPCStats->pProfessions[pNPC->uProfession].pJoinText, uActiveCharacter - 1, 0, 0, 0, 0);
     break;
 
     case DIALOGUE_PROFESSION_DETAILS: