Mercurial > mm7
comparison Items.cpp @ 1006:e865f349aa41
ui cleanup
author | Gloval |
---|---|
date | Sat, 18 May 2013 22:01:26 +0400 |
parents | c8a0f6d89c70 |
children | 9ac94d00012e |
comparison
equal
deleted
inserted
replaced
1004:eac5af72b614 | 1006:e865f349aa41 |
---|---|
912 ++item_counter; | 912 ++item_counter; |
913 if (item_counter>618) | 913 if (item_counter>618) |
914 break; | 914 break; |
915 } | 915 } |
916 | 916 |
917 //ChanceByTreasureLvl Summ - anti cheating? | 917 //ChanceByTreasureLvl Summ - to calculate chance |
918 memset(&uChanceByTreasureLvlSumm, 0, 24); | 918 memset(&uChanceByTreasureLvlSumm, 0, 24); |
919 for(i=0;i<6;++i) | 919 for(i=0;i<6;++i) |
920 { | 920 { |
921 for (j=1;j<item_counter;++j) | 921 for (j=1;j<item_counter;++j) |
922 uChanceByTreasureLvlSumm[i]+=pItems[j].uChanceByTreasureLvl[i]; | 922 uChanceByTreasureLvlSumm[i]+=pItems[j].uChanceByTreasureLvl[i]; |