diff options
Diffstat (limited to 'engines/groovie/script.cpp')
| -rw-r--r-- | engines/groovie/script.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp index 6c4f38c270..e3cd4fdc4e 100644 --- a/engines/groovie/script.cpp +++ b/engines/groovie/script.cpp @@ -33,6 +33,7 @@  #include "common/config-manager.h"  #include "common/endian.h"  #include "common/events.h" +#include "common/EventRecorder.h"  #define NUM_OPCODES 90 @@ -73,7 +74,7 @@ Script::Script(GroovieEngine *vm, EngineVersion version) :  	}  	// Initialize the random source -	_vm->_system->getEventManager()->registerRandomSource(_random, "GroovieScripts"); +	g_eventRec.registerRandomSource(_random, "GroovieScripts");  	// Prepare the variables  	_bitflags = 0; | 
