changeset 110:aa9b34eb3da4

NPC(Margaret) fix
author Ritor1
date Sat, 09 Feb 2013 17:39:50 +0600
parents 01ab35c85832
children bf7ea4c330b3
files mm7_2.cpp mm7_5.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_2.cpp	Sat Feb 09 01:56:58 2013 +0600
+++ b/mm7_2.cpp	Sat Feb 09 17:39:50 2013 +0600
@@ -13849,6 +13849,7 @@
   }
 
   pNPCStats = new NPCStats;
+  memset(pNPCStats->pNPCData, 0, 0x94BCu);
   pNPCStats->Initialize();
 
   Initialize_GlobalEVT();
--- a/mm7_5.cpp	Sat Feb 09 01:56:58 2013 +0600
+++ b/mm7_5.cpp	Sat Feb 09 17:39:50 2013 +0600
@@ -1777,7 +1777,7 @@
           }
           sub_41426F();
           continue;
-        case UIMSG_BC:
+        case UIMSG_BC://Right and Left button for NPCPanel
           if ( uMessageParam )
           {
             GUIWindow::Create(0x272u, 0xB3u, 0, 0, (enum WindowType)90, (int)pBtn_NPCRight, 0);