aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/sound/bgatmosphere.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-25 12:59:46 +0000
committerJohannes Schickel2009-07-25 12:59:46 +0000
commit7e71865e91a19b022a5ad839802f79a5f300fe8d (patch)
treec86e3e37eea3ec566c6c8a1811cb8cc16196b910 /engines/gob/sound/bgatmosphere.cpp
parent6d1a386471711df4c9ed48be3646a16f81ae0d46 (diff)
downloadscummvm-rg350-7e71865e91a19b022a5ad839802f79a5f300fe8d.tar.gz
scummvm-rg350-7e71865e91a19b022a5ad839802f79a5f300fe8d.tar.bz2
scummvm-rg350-7e71865e91a19b022a5ad839802f79a5f300fe8d.zip
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
Diffstat (limited to 'engines/gob/sound/bgatmosphere.cpp')
-rw-r--r--engines/gob/sound/bgatmosphere.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/sound/bgatmosphere.cpp b/engines/gob/sound/bgatmosphere.cpp
index 6ce184155e..f0977aa45b 100644
--- a/engines/gob/sound/bgatmosphere.cpp
+++ b/engines/gob/sound/bgatmosphere.cpp
@@ -25,6 +25,7 @@
#include "common/system.h"
#include "common/events.h"
+#include "common/EventRecorder.h"
#include "gob/sound/bgatmosphere.h"
#include "gob/sound/sounddesc.h"
@@ -39,7 +40,7 @@ BackgroundAtmosphere::BackgroundAtmosphere(Audio::Mixer &mixer) :
_shaded = false;
_shadable = true;
- g_system->getEventManager()->registerRandomSource(_rnd, "gobBA");
+ g_eventRec.registerRandomSource(_rnd, "gobBA");
}
BackgroundAtmosphere::~BackgroundAtmosphere() {