mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
XEEN: Fix randomly rolling attribute values
This commit is contained in:
parent
4d91cf75ba
commit
a40da92507
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user