diff options
author | Strangerke | 2011-09-17 18:22:35 +0200 |
---|---|---|
committer | Strangerke | 2011-09-17 18:22:35 +0200 |
commit | ff0185d038ca1a74237f4f990a436c6b0b324efd (patch) | |
tree | cbf4608a3478e5ef1ee28123c14f80a183752f6a /engines | |
parent | d574cfe272e80c08387333a56ffe9955130f276b (diff) | |
download | scummvm-rg350-ff0185d038ca1a74237f4f990a436c6b0b324efd.tar.gz scummvm-rg350-ff0185d038ca1a74237f4f990a436c6b0b324efd.tar.bz2 scummvm-rg350-ff0185d038ca1a74237f4f990a436c6b0b324efd.zip |
CGE: Remove a use reference to g_engine
Thanks fuzzie for mentioning it
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/cge_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 9a33e35a08..b1427465d3 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -140,7 +140,7 @@ int CGEEngine::newRandom(int range) { if (!range) return 0; - return ((CGEEngine *)g_engine)->_randomSource.getRandomNumber(range - 1); + return _randomSource.getRandomNumber(range - 1); } void CGEEngine::sndSetVolume() { |