mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
XEEN: Fix experience doubling calculation
Thanks to dtgreene in the GOG forums for pointing out the incorrect calculation, and that it isn't present in Clouds of Xeen only
This commit is contained in:
parent
549b90481a
commit
2ac361782c
@ -1810,8 +1810,8 @@ void Combat::giveExperience(int experience) {
|
||||
++count;
|
||||
} else {
|
||||
int exp = experience / count;
|
||||
if (c._level._permanent < 15)
|
||||
exp /= 2;
|
||||
if (c._level._permanent < 15 && _vm->getGameID() != GType_Clouds)
|
||||
exp *= 2;
|
||||
c._experience += exp;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user