diff options
author | Filippos Karapetis | 2009-03-02 21:45:31 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-02 21:45:31 +0000 |
commit | 59e847dc2d2ee056f85ef7217ce63d48cd0f7235 (patch) | |
tree | 986733006281971b57ec6368737759193390f9b2 /engines/sci/gfx/resource | |
parent | 3690d9aed93cfef91744e95782fb1997f6c396ce (diff) | |
download | scummvm-rg350-59e847dc2d2ee056f85ef7217ce63d48cd0f7235.tar.gz scummvm-rg350-59e847dc2d2ee056f85ef7217ce63d48cd0f7235.tar.bz2 scummvm-rg350-59e847dc2d2ee056f85ef7217ce63d48cd0f7235.zip |
Cleanup
svn-id: r39081
Diffstat (limited to 'engines/sci/gfx/resource')
-rw-r--r-- | engines/sci/gfx/resource/sci_view_0.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/gfx/resource/sci_view_0.cpp b/engines/sci/gfx/resource/sci_view_0.cpp index c5717b27b8..aa99b534f5 100644 --- a/engines/sci/gfx/resource/sci_view_0.cpp +++ b/engines/sci/gfx/resource/sci_view_0.cpp @@ -49,15 +49,14 @@ gfx_pixmap_t *gfxr_draw_cel0(int id, int loop, int cel, byte *resource, int size retval->xoffset = mirrored ? xhot : -xhot; retval->yoffset = -yhot; + retval->flags |= GFX_PIXMAP_FLAG_EXTERNAL_PALETTE; if (view) { retval->colors = view->colors; retval->colors_nr = view->colors_nr; - retval->flags |= GFX_PIXMAP_FLAG_EXTERNAL_PALETTE; } else { retval->colors = gfx_sci0_image_colors[sci0_palette]; retval->colors_nr = GFX_SCI0_IMAGE_COLORS_NR; - retval->flags |= GFX_PIXMAP_FLAG_EXTERNAL_PALETTE; } if (xl <= 0 || yl <= 0) { |