aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-13 23:18:59 +0000
committerEugene Sandulenko2005-03-13 23:18:59 +0000
commit654528422dbe9174eaad34bde7bfab5b4c29739d (patch)
tree07e9547efb98795e349c0ecd775a12673be6c871 /scumm/script_v2.cpp
parente7ea46c0a3bed29d8f995072c049cfdf2dd39dd6 (diff)
downloadscummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.tar.gz
scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.tar.bz2
scummvm-rg350-654528422dbe9174eaad34bde7bfab5b4c29739d.zip
Preliminary support for MM NES.
svn-id: r17133
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 4f27b74f93..a8a25ad65d 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -1534,10 +1534,9 @@ void ScummEngine_v2::o2_dummy() {
void ScummEngine_v2::o2_switchCostumeSet() {
// NES version of maniac uses this to switch between the two
// groups of costumes it has
- if (_features & GF_NES) {
- warning("stub: o2_switchCostumeSet()");
- fetchScriptByte();
- } else
+ if (_features & GF_NES)
+ _v1MMNESCostumeSet = fetchScriptByte();
+ else
o2_dummy();
}