From 09c2ea82de295fab011bcddcc7c2bf0ba6dd72d7 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 24 Jul 2007 23:24:40 +0000 Subject: - Separated game type and features - Added feature constants for a 640x480 resolution and adlib - Added support for game with a 640x480 resolution. Woodruff now inits the screen before it segfaults svn-id: r28185 --- engines/gob/inter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/inter.cpp') diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp index 1f529b7634..4da3746681 100644 --- a/engines/gob/inter.cpp +++ b/engines/gob/inter.cpp @@ -209,7 +209,7 @@ void Inter::funcBlock(int16 retFlag) { // WORKAROUND: // The EGA version of gob1 doesn't add a delay after showing // images between levels. We manually add it here. - if ((_vm->_features & GF_GOB1) && (_vm->_features & GF_EGA)) { + if ((_vm->getGameType() == kGameTypeGob1) && _vm->isEGA()) { int addr = _vm->_global->_inter_execPtr-_vm->_game->_totFileData; if ((startaddr == 0x18B4 && addr == 0x1A7F && // Zombie !strncmp(_vm->_game->_curTotFile, "avt005.tot", 10)) || -- cgit v1.2.3