Mercurial > mm7
comparison NPC.cpp @ 829:d5b1870df3ab
Merge
author | Nomad |
---|---|
date | Wed, 27 Mar 2013 00:28:45 +0200 |
parents | 35c31a49d989 |
children | c0d0656aa662 |
comparison
equal
deleted
inserted
replaced
828:0f56abdcce94 | 829:d5b1870df3ab |
---|---|
383 ++decode_step; | 383 ++decode_step; |
384 test_string=tmp_pos+1; | 384 test_string=tmp_pos+1; |
385 } while ((decode_step<78)&&!break_loop); | 385 } while ((decode_step<78)&&!break_loop); |
386 } | 386 } |
387 | 387 |
388 for (i=0; i<78; ++i) | 388 for ( i = 0; i < 77; ++i ) |
389 { | 389 { |
390 pProfessionChance[i].uTotalprofChance=0; | 390 pProfessionChance[i].uTotalprofChance=0; |
391 for (int ii=1; ii<59; ++ii) | 391 for ( int ii = 1; ii < 59; ++ii ) |
392 { | 392 { |
393 pProfessionChance[i].uTotalprofChance+=pProfessionChance[i].professionChancePerArea[ii]; | 393 pProfessionChance[i].uTotalprofChance+=pProfessionChance[i].professionChancePerArea[ii]; |
394 } | 394 } |
395 pProfessionChance[i].professionChancePerArea[0]=0; | 395 pProfessionChance[i].professionChancePerArea[0]=0; |
396 pProfessionChance[i].professionChancePerArea[59]=0; | 396 pProfessionChance[i].professionChancePerArea[59]=0; |