[Scummvm-cvs-logs] scummvm master -> ff0185d038ca1a74237f4f990a436c6b0b324efd
Strangerke
Strangerke at scummvm.org
Sat Sep 17 18:27:49 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ff0185d038 CGE: Remove a use reference to g_engine
Commit: ff0185d038ca1a74237f4f990a436c6b0b324efd
https://github.com/scummvm/scummvm/commit/ff0185d038ca1a74237f4f990a436c6b0b324efd
Author: Strangerke (strangerke at scummvm.org)
Date: 2011-09-17T09:22:35-07:00
Commit Message:
CGE: Remove a use reference to g_engine
Thanks fuzzie for mentioning it
Changed paths:
engines/cge/cge_main.cpp
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index 9a33e35a..b142746 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() {
More information about the Scummvm-git-logs
mailing list