diff NPC.cpp @ 825:35c31a49d989

m
author Ritor1
date Tue, 26 Mar 2013 23:18:58 +0600
parents d170f23f70d1
children c0d0656aa662
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];
 			}