aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinsel.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/tinsel/tinsel.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/tinsel/tinsel.cpp')
-rw-r--r--engines/tinsel/tinsel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index 95541e3287..5f056351b6 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -26,6 +26,7 @@
#include "common/endian.h"
#include "common/error.h"
#include "common/events.h"
+#include "common/EventRecorder.h"
#include "common/keyboard.h"
#include "common/file.h"
#include "common/savefile.h"
@@ -934,7 +935,7 @@ Common::Error TinselEngine::run() {
_screenSurface.create(320, 200, 1);
}
- g_system->getEventManager()->registerRandomSource(_random, "tinsel");
+ g_eventRec.registerRandomSource(_random, "tinsel");
_console = new Console();