diff options
author | Paul Gilbert | 2014-02-01 12:58:51 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-01 12:58:51 -0500 |
commit | 1879151c227ecb9074117d2bd562db45ee7af507 (patch) | |
tree | 763ab5bc6039bb545299dd65aff43ac99954e098 /engines/tsage | |
parent | 6087df91be06ea4db065b02afb573a338a06be18 (diff) | |
download | scummvm-rg350-1879151c227ecb9074117d2bd562db45ee7af507.tar.gz scummvm-rg350-1879151c227ecb9074117d2bd562db45ee7af507.tar.bz2 scummvm-rg350-1879151c227ecb9074117d2bd562db45ee7af507.zip |
TSAGE: Fix for voice playback never calling it's end action when finished
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_logic.cpp | 5 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_logic.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp index 39e398023d..b97f63bbd3 100644 --- a/engines/tsage/ringworld2/ringworld2_logic.cpp +++ b/engines/tsage/ringworld2/ringworld2_logic.cpp @@ -625,6 +625,11 @@ void SceneHandlerExt::process(Event &event) { SceneHandler::process(event); } +void SceneHandlerExt::dispatch() { + R2_GLOBALS._playStream.dispatch(); + SceneHandler::dispatch(); +} + void SceneHandlerExt::postLoad(int priorSceneBeforeLoad, int currentSceneBeforeLoad) { // Set up the shading maps used for showing the player in shadows setupPaletteMaps(); diff --git a/engines/tsage/ringworld2/ringworld2_logic.h b/engines/tsage/ringworld2/ringworld2_logic.h index c9695c921d..101b0f53cd 100644 --- a/engines/tsage/ringworld2/ringworld2_logic.h +++ b/engines/tsage/ringworld2/ringworld2_logic.h @@ -114,6 +114,7 @@ public: virtual void postInit(SceneObjectList *OwnerList = NULL); virtual void process(Event &event); virtual void postLoad(int priorSceneBeforeLoad, int currentSceneBeforeLoad); + virtual void dispatch(); void setupPaletteMaps(); }; |