From 77eea722afe175003baba3ed5341bfbf8cf988f6 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 19 Sep 2007 13:55:05 +0000 Subject: Modified patch #1738058: "Action recorder". svn-id: r28968 --- engines/agos/agos.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/agos') diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 3b5bb3e50b..09249a2535 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -28,6 +28,7 @@ #include "common/config-manager.h" #include "common/file.h" #include "common/system.h" +#include "common/events.h" #include "agos/debugger.h" #include "agos/intern.h" @@ -519,6 +520,8 @@ AGOSEngine::AGOSEngine(OSystem *syst) File::addDefaultDirectory(_gameDataPath + "SFX"); File::addDefaultDirectory(_gameDataPath + "speech"); File::addDefaultDirectory(_gameDataPath + "SPEECH"); + + syst->getEventManager()->registerRandomSource(_rnd, "agos"); } int AGOSEngine::init() { -- cgit v1.2.3