aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/schedule_v2d.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-06 14:06:04 +0000
committerArnaud Boutonné2011-01-06 14:06:04 +0000
commit46e514926942f019a5365de624cd752e675357fd (patch)
tree44558dc76ec77e0365b053d89d048d9325544608 /engines/hugo/schedule_v2d.cpp
parentbb9ad6afe44e2411742985dad6d7888a276970fe (diff)
downloadscummvm-rg350-46e514926942f019a5365de624cd752e675357fd.tar.gz
scummvm-rg350-46e514926942f019a5365de624cd752e675357fd.tar.bz2
scummvm-rg350-46e514926942f019a5365de624cd752e675357fd.zip
HUGO: Implement DOS player
svn-id: r55132
Diffstat (limited to 'engines/hugo/schedule_v2d.cpp')
-rw-r--r--engines/hugo/schedule_v2d.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/hugo/schedule_v2d.cpp b/engines/hugo/schedule_v2d.cpp
index 04302caf61..8764826e52 100644
--- a/engines/hugo/schedule_v2d.cpp
+++ b/engines/hugo/schedule_v2d.cpp
@@ -376,10 +376,8 @@ event_t *Scheduler_v2d::doAction(event_t *curEvent) {
_vm->_object->_objects[action->a48.objNumb].currImagePtr = _vm->_object->_objects[action->a48.objNumb].currImagePtr->nextSeqPtr;
break;
case OLD_SONG:
- //TODO For DOS versions: The songs were not stored in a DAT file, but directly as
- //strings. the current play_music should be modified to use a strings instead of reading
- //the file, in those cases. This replaces, for those DOS versions, act26.
- warning("STUB: doAction(act49) %s", _vm->_textData[action->a49.songIndex]);
+ // Replaces ACT26 for DOS games.
+ _vm->_sound->DOSSongPtr = _vm->_textData[action->a49.songIndex];
break;
default:
error("An error has occurred: %s", "doAction");