aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/saga.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-09-19 13:55:05 +0000
committerEugene Sandulenko2007-09-19 13:55:05 +0000
commit77eea722afe175003baba3ed5341bfbf8cf988f6 (patch)
treeff95cd001b8929308468d69466623f0c28be476b /engines/saga/saga.cpp
parent2254028365cf5f162bd41cf0011b4475ec608f4c (diff)
downloadscummvm-rg350-77eea722afe175003baba3ed5341bfbf8cf988f6.tar.gz
scummvm-rg350-77eea722afe175003baba3ed5341bfbf8cf988f6.tar.bz2
scummvm-rg350-77eea722afe175003baba3ed5341bfbf8cf988f6.zip
Modified patch #1738058: "Action recorder".
svn-id: r28968
Diffstat (limited to 'engines/saga/saga.cpp')
-rw-r--r--engines/saga/saga.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index c9f4bd4da8..9601eee44c 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -28,6 +28,7 @@
#include "common/file.h"
#include "common/config-manager.h"
#include "common/system.h"
+#include "common/events.h"
#include "sound/mixer.h"
@@ -113,6 +114,7 @@ SagaEngine::SagaEngine(OSystem *syst)
}
_displayClip.left = _displayClip.top = 0;
+ syst->getEventManager()->registerRandomSource(_rnd, "saga");
}
SagaEngine::~SagaEngine() {