Applied patch #2819665 - "SCI: cell palette fix for QfG3/SQ5/etc."

svn-id: r42345
This commit is contained in:
Filippos Karapetis 2009-07-10 18:53:40 +00:00
parent 03ee1c9f2c
commit dfe8ec9be0

View File

@ -600,6 +600,8 @@ gfxr_view_t *GfxResManager::getView(int nr, int *loop, int *cel, int palette) {
}
if (!cel_data->data) {
if (!cel_data->palette)
cel_data->palette = view->palette->getref();
#ifdef CUSTOM_GRAPHICS_OPTIONS
gfx_get_res_config(_options, cel_data);
gfx_xlate_pixmap(cel_data, _driver->getMode(), _options->view_xlate_filter);