Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.

svn-id: r25517
This commit is contained in:
Travis Howell 2007-02-12 11:27:11 +00:00
parent 611d1a018e
commit b2f9c5ab8e

View File

@ -185,9 +185,15 @@ void AGOSEngine::restoreBlock(uint h, uint w, uint y, uint x) {
}
void AGOSEngine::setTextColor(uint color) {
WindowBlock *window;
WindowBlock *window = _windowArray[_curWindow];
if ((getFeatures() & GF_32COLOR) && color != 0) {
if (window->fill_color == 17)
color = 25;
else
color = 12;
}
window = _windowArray[_curWindow];
window->text_color = color;
}