# HG changeset patch # User Ritor1 # Date 1360409990 -21600 # Node ID aa9b34eb3da41457a6818ac88dcb9375a2c92b0d # Parent 01ab35c858329a013a57848474199be6592b3828 NPC(Margaret) fix diff -r 01ab35c85832 -r aa9b34eb3da4 mm7_2.cpp --- 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(); diff -r 01ab35c85832 -r aa9b34eb3da4 mm7_5.cpp --- 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);