comparison 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
comparison
equal deleted inserted replaced
418:913675aac25b 419:ad1e9c0bf6da
4382 if ( uNumDialogueNPCPortraits > 0 ) 4382 if ( uNumDialogueNPCPortraits > 0 )
4383 { 4383 {
4384 v3 = byte_591180; 4384 v3 = byte_591180;
4385 do 4385 do
4386 { 4386 {
4387 array_5913D8[v2 + 7] = (NPCData *)window_SpeakInHouse->CreateButton(*(&pNPCPortraits_x + v2 + 6 * v1 - 6), *(&pNPCPortraits_y + v2 + 6 * v1 - 6), 4387 array_5913D8[v2 + 7] = (NPCData *)window_SpeakInHouse->CreateButton(pNPCPortraits_x[v1 - 1][v2], pNPCPortraits_y[v1 - 1][v2],
4388 0x3Fu, 0x49u, 1, 0, 0x19Au, v2, 0, v3, 0, 0, 0); 4388 0x3Fu, 0x49u, 1, 0, 0x19Au, v2, 0, v3, 0, 0, 0);
4389 v1 = uNumDialogueNPCPortraits; 4389 v1 = uNumDialogueNPCPortraits;
4390 ++v2; 4390 ++v2;
4391 v3 += 100; 4391 v3 += 100;
4392 } 4392 }