aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-05-23 11:19:42 +0200
committeruruk2014-05-23 11:19:42 +0200
commit7777a48dabefbd03c0ca986056b3ae81322de4c1 (patch)
tree45497640c59c7fa30503b109e8bf2626b636adfc
parente98554309d85578826001d9305b0e4c4df658450 (diff)
downloadscummvm-rg350-7777a48dabefbd03c0ca986056b3ae81322de4c1.tar.gz
scummvm-rg350-7777a48dabefbd03c0ca986056b3ae81322de4c1.tar.bz2
scummvm-rg350-7777a48dabefbd03c0ca986056b3ae81322de4c1.zip
CGE2: Fix caveUp().
Remove CGE2Engine::show() to do so.
-rw-r--r--engines/cge2/cge2.h1
-rw-r--r--engines/cge2/cge2_main.cpp8
2 files changed, 2 insertions, 7 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h
index 0c3670ff00..2ffc2125e5 100644
--- a/engines/cge2/cge2.h
+++ b/engines/cge2/cge2.h
@@ -115,7 +115,6 @@ public:
void openPocket();
void selectPocket(int n);
void busy(bool on);
- void show();
void feedSnail(Sprite *spr, Action snq, Hero *hero);
int freePockets(int sx);
int findActivePocket(int ref);
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index ad1d3a6a4c..2b3ab44414 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -366,9 +366,9 @@ void CGE2Engine::caveUp(int cav) {
if (!_dark)
_vga->sunset();
- show();
+ _vga->show();
_vga->copyPage(1, 0);
- show();
+ _vga->show();
_sprite = _vga->_showQ->first();
if (_startupMode)
@@ -460,10 +460,6 @@ void CGE2Engine::busy(bool on) {
warning("STUB: CGE2Engine::selectPocket()");
}
-void CGE2Engine::show() {
- warning("STUB: CGE2Engine::show()");
-}
-
void CGE2Engine::runGame() {
warning("STUB: CGE2Engine::runGame()");
}