diff mm7_1.cpp @ 747:585490c29945

House dialogue ids appended
author Nomad
date Fri, 22 Mar 2013 21:50:41 +0200
parents 9d13d2ec35a6
children f39fbeb65b28
line wrap: on
line diff
--- a/mm7_1.cpp	Fri Mar 22 23:46:32 2013 +0600
+++ b/mm7_1.cpp	Fri Mar 22 21:50:41 2013 +0200
@@ -51,6 +51,7 @@
 #include "Events2D.h"
 #include "texts.h"
 #include "stru351.h"
+#include "UIHouses.h"
 
 #include "mm7_data.h"
 
@@ -968,8 +969,9 @@
     //goto LABEL_28;
     uActiveCharacter = uPlayerID;
     return;
-  if ( dialog_menu_id == 2 || dialog_menu_id == 6 )
+  if (dialog_menu_id == HOUSE_DIALOGUE_SHOP_BUY_STANDARD || dialog_menu_id == HOUSE_DIALOGUE_6)
   {
+    __debugbreak(); // fix indexing
     pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103;
     v5 = 14;
     //goto LABEL_22;