comparison mm7_6.cpp @ 1786:11f36943e818

m
author Ritor1
date Thu, 03 Oct 2013 18:09:21 +0600
parents d73f4668ef94
children 0c4d3c6a9d5a
comparison
equal deleted inserted replaced
1785:644d10ad682e 1786:11f36943e818
122 v13 = 0; 122 v13 = 0;
123 v14 = 0; 123 v14 = 0;
124 if ( v3 ) 124 if ( v3 )
125 { 125 {
126 if ( pActor->pMonsterInfo.uTreasureDiceRolls ) 126 if ( pActor->pMonsterInfo.uTreasureDiceRolls )
127 { 127 {
128 do 128 do
129 { 129 {
130 ++v2; 130 ++v2;
131 v14 += rand() % pActor->pMonsterInfo.uTreasureDiceSides + 1; 131 v14 += rand() % pActor->pMonsterInfo.uTreasureDiceSides + 1;
132 } 132 }