TSAGE: Fix for voice playback never calling it's end action when finished

This commit is contained in:
Paul Gilbert 2014-02-01 12:58:51 -05:00
parent 6087df91be
commit 1879151c22
2 changed files with 6 additions and 0 deletions

View File

@ -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();

View File

@ -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();
};