aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2.cpp
diff options
context:
space:
mode:
authoruruk2014-05-15 12:21:24 +0200
committeruruk2014-05-15 12:21:24 +0200
commit6d7becb1daf00938b904dd482ce3a7a72e0d5945 (patch)
tree40d35012c5b6025af082d80600421d492bcbcaf9 /engines/cge2/cge2.cpp
parent4e7bcb5f36c6abd07413323573670b140523f9b0 (diff)
downloadscummvm-rg350-6d7becb1daf00938b904dd482ce3a7a72e0d5945.tar.gz
scummvm-rg350-6d7becb1daf00938b904dd482ce3a7a72e0d5945.tar.bz2
scummvm-rg350-6d7becb1daf00938b904dd482ce3a7a72e0d5945.zip
CGE2: Add newRandom().
Diffstat (limited to 'engines/cge2/cge2.cpp')
-rw-r--r--engines/cge2/cge2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp
index 8d7f58fb44..bd93ed22e1 100644
--- a/engines/cge2/cge2.cpp
+++ b/engines/cge2/cge2.cpp
@@ -39,7 +39,7 @@
namespace CGE2 {
CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription)
- : Engine(syst), _gameDescription(gameDescription) {
+ : Engine(syst), _gameDescription(gameDescription), _randomSource("cge") {
_resman = nullptr;
_vga = nullptr;
_sprite = nullptr;