From eb4a48bfd99e97540d553ffd51eb5b24d9c05486 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 29 Jun 2010 10:52:59 +0000 Subject: Reserved palette ranges used by on-screen messages svn-id: r50489 --- engines/m4/mads_anim.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/m4') diff --git a/engines/m4/mads_anim.cpp b/engines/m4/mads_anim.cpp index d8976241e1..b7aa8eefb5 100644 --- a/engines/m4/mads_anim.cpp +++ b/engines/m4/mads_anim.cpp @@ -466,6 +466,10 @@ AnimviewView::AnimviewView(MadsM4Engine *vm): // Set up system palette colors _vm->_palette->setMadsSystemPalette(); + // Block reserved palette ranges + _vm->_palette->blockRange(16, 2); + _vm->_palette->blockRange(250, 4); + clear(); _backgroundSurface.clear(); -- cgit v1.2.3