diff options
Diffstat (limited to 'engines/cge')
-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() { |