XEEN: Fix randomly rolling attribute values

This commit is contained in:
Paul Gilbert 2018-02-18 16:45:49 -05:00
parent 4d91cf75ba
commit a40da92507

View File

@ -380,7 +380,7 @@ void CreateCharacterDialog::throwDice(uint attribs[TOTAL_ATTRIBUTES], bool allow
// Assign random amounts to each attribute
for (int idx1 = 0; idx1 < 3; ++idx1) {
for (int idx2 = 0; idx2 < TOTAL_ATTRIBUTES; ++idx2) {
attribs[idx1] += _vm->getRandomNumber(10, 79) / 10;
attribs[idx2] += _vm->getRandomNumber(10, 79) / 10;
}
}