Mercurial > mm7
changeset 825:35c31a49d989
m
author | Ritor1 |
---|---|
date | Tue, 26 Mar 2013 23:18:58 +0600 |
parents | 7bb33867d2cb |
children | 1133e34a7560 |
files | NPC.cpp mm7_3.cpp |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/NPC.cpp Tue Mar 26 00:09:21 2013 +0600 +++ b/NPC.cpp Tue Mar 26 23:18:58 2013 +0600 @@ -385,10 +385,10 @@ } while ((decode_step<78)&&!break_loop); } - for (i=0; i<78; ++i) + for ( i = 0; i < 77; ++i ) { pProfessionChance[i].uTotalprofChance=0; - for (int ii=1; ii<59; ++ii) + for ( int ii = 1; ii < 59; ++ii ) { pProfessionChance[i].uTotalprofChance+=pProfessionChance[i].professionChancePerArea[ii]; }
--- a/mm7_3.cpp Tue Mar 26 00:09:21 2013 +0600 +++ b/mm7_3.cpp Tue Mar 26 23:18:58 2013 +0600 @@ -12652,7 +12652,7 @@ { pInString = (char *)ptr_F8B1E8; } - else if (v1 == 1) + else if (v1 == 1)//QuestNPCDialogue { if (pNPC->greet) { @@ -12662,7 +12662,7 @@ pInString = pNPCStats->pNPCGreetings[pNPC->greet - 1].pGreeting1; } } - else if (v1 == 2) + else if (v1 == 2)//HiredNPCDialogue { auto prof = pNPCStats->pProfessions + pNPC->uProfession - 1;