aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2018-03-25 06:29:26 +0200
committerThierry Crozat2018-04-15 18:28:38 +0100
commit0668f9d363afc3295cb4eb8227eecc126d996657 (patch)
tree8f0ee7c66fd7ec6831f90607ce2818321220d9ce
parent3749f98dea6eda097e14fbc2139498fba84bece1 (diff)
downloadscummvm-rg350-0668f9d363afc3295cb4eb8227eecc126d996657.tar.gz
scummvm-rg350-0668f9d363afc3295cb4eb8227eecc126d996657.tar.bz2
scummvm-rg350-0668f9d363afc3295cb4eb8227eecc126d996657.zip
SUPERNOVA: Removes unused RNG instance
-rw-r--r--engines/supernova/supernova.cpp1
-rw-r--r--engines/supernova/supernova.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index a2b34bd6c5..99bf77c653 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -82,7 +82,6 @@ SupernovaEngine::SupernovaEngine(OSystem *syst)
, _sound(nullptr)
, _resMan(nullptr)
, _screen(nullptr)
- , _rnd("supernova")
, _delay(33)
, _textSpeed(kTextSpeed[2])
, _allowLoadGame(true)
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index cbd7c810b1..8fe8765f7f 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -66,7 +66,6 @@ public:
virtual bool hasFeature(EngineFeature f) const;
virtual void pauseEngineIntern(bool pause);
- Common::RandomSource _rnd;
GameManager *_gm;
Console *_console;
Sound *_sound;