diff options
author | Benjamin Haisch | 2011-05-18 15:02:59 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:10 +0100 |
commit | ae4437aea4901ea983cd4350fd9fe244c9460e4a (patch) | |
tree | 8854739c6bc2ee84870ac32f3f2ba58589d30fc1 /engines/toltecs | |
parent | 9f3cc261c2e833097d7dca196502c004593a38ab (diff) | |
download | scummvm-rg350-ae4437aea4901ea983cd4350fd9fe244c9460e4a.tar.gz scummvm-rg350-ae4437aea4901ea983cd4350fd9fe244c9460e4a.tar.bz2 scummvm-rg350-ae4437aea4901ea983cd4350fd9fe244c9460e4a.zip |
TOLTECS: Fix compilation
Diffstat (limited to 'engines/toltecs')
-rw-r--r-- | engines/toltecs/toltecs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 4f9fbae94f..41d626a027 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -65,8 +65,7 @@ ToltecsEngine::ToltecsEngine(OSystem *syst, const ToltecsGameDescription *gameDe _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume")); - _rnd = new Common::RandomSource(); - g_eventRec.registerRandomSource(*_rnd, "toltecs"); + _rnd = new Common::RandomSource("toltecs"); } ToltecsEngine::~ToltecsEngine() { |