aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script
diff options
context:
space:
mode:
authorathrxx2019-12-10 22:05:18 +0100
committerathrxx2019-12-18 20:50:47 +0100
commit04e85a0f3d71c8740ecaf8ff2e66143e95ec055a (patch)
treea167f194b0c90c63d4dfe2887e57f9848ee0778c /engines/kyra/script
parente2d4f1e6f141f398dc08e0b8f777332ff2c48b98 (diff)
downloadscummvm-rg350-04e85a0f3d71c8740ecaf8ff2e66143e95ec055a.tar.gz
scummvm-rg350-04e85a0f3d71c8740ecaf8ff2e66143e95ec055a.tar.bz2
scummvm-rg350-04e85a0f3d71c8740ecaf8ff2e66143e95ec055a.zip
KYRA: (Amiga) - minor code reduction
(eliminate some duplicate code for dirty rect handling)
Diffstat (limited to 'engines/kyra/script')
-rw-r--r--engines/kyra/script/script_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script/script_eob.cpp b/engines/kyra/script/script_eob.cpp
index 8c0fb0601e..ab7cf81d61 100644
--- a/engines/kyra/script/script_eob.cpp
+++ b/engines/kyra/script/script_eob.cpp
@@ -1540,7 +1540,7 @@ int EoBInfProcessor::oeob_delay(int8 *data) {
int EoBInfProcessor::oeob_drawScene(int8 *data) {
if (_vm->game() == GI_EOB2 && _vm->gameFlags().platform == Common::kPlatformAmiga)
- _screen->setupDualPalettesSplitScreen(_screen->getPalette(6), _screen->getPalette(7));
+ _screen->setDualPalettes(_screen->getPalette(6), _screen->getPalette(7));
_vm->drawScene(1);
return 0;
}