diff mm7_2.cpp @ 419:ad1e9c0bf6da

Multi-npc house icons fixed
author Nomad
date Sat, 23 Feb 2013 21:04:08 +0200
parents 6cb79ea315ba
children afad358dc684
line wrap: on
line diff
--- a/mm7_2.cpp	Sat Feb 23 19:34:05 2013 +0200
+++ b/mm7_2.cpp	Sat Feb 23 21:04:08 2013 +0200
@@ -4384,7 +4384,7 @@
         v3 = byte_591180;
         do
         {
-          array_5913D8[v2 + 7] = (NPCData *)window_SpeakInHouse->CreateButton(*(&pNPCPortraits_x + v2 + 6 * v1 - 6), *(&pNPCPortraits_y + v2 + 6 * v1 - 6),
+          array_5913D8[v2 + 7] = (NPCData *)window_SpeakInHouse->CreateButton(pNPCPortraits_x[v1 - 1][v2], pNPCPortraits_y[v1 - 1][v2],
                                               0x3Fu, 0x49u, 1, 0, 0x19Au, v2, 0, v3, 0, 0, 0);
           v1 = uNumDialogueNPCPortraits;
           ++v2;