mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
SAGA2: Another fix to make AmigaOS happier
This commit is contained in:
parent
4f2e2d4edb
commit
f8f2f2b1ca
@ -150,10 +150,8 @@ SpellDisplayPrototype *SpellDisplayPrototypeList::operator[](SpellID s) {
|
||||
|
||||
void SpellDisplayPrototype::getColorTranslation(ColorTable map, Effectron *e) {
|
||||
int32 i = colorMap[whichColorMap(effect, e)];
|
||||
i = MAX(0, MIN(loadedColorMaps, i));
|
||||
buildColorTable(map,
|
||||
spellSchemes->_schemes[i]->bank,
|
||||
11);
|
||||
i = MAX<int32>(0, MIN(loadedColorMaps, i));
|
||||
buildColorTable(map, spellSchemes->_schemes[i]->bank, 11);
|
||||
}
|
||||
|
||||
/* ===================================================================== *
|
||||
|
Loading…
x
Reference in New Issue
Block a user