aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
diff options
context:
space:
mode:
authorEvgeny Grechnikov2018-10-18 00:56:28 +0300
committerEvgeny Grechnikov2018-10-18 00:56:28 +0300
commit8a374bdf0c9ab5df77c43a4e89249144e123e4cd (patch)
tree4f5f05e57905ea833d4c358f92417bfe7072a9a6 /engines/lastexpress
parent54562554f9b274ce527a54e7fe87b8ff354fe0f4 (diff)
downloadscummvm-rg350-8a374bdf0c9ab5df77c43a4e89249144e123e4cd.tar.gz
scummvm-rg350-8a374bdf0c9ab5df77c43a4e89249144e123e4cd.tar.bz2
scummvm-rg350-8a374bdf0c9ab5df77c43a4e89249144e123e4cd.zip
LASTEXPRESS: rnd() should not return a constant
Diffstat (limited to 'engines/lastexpress')
-rw-r--r--engines/lastexpress/lastexpress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/lastexpress.h b/engines/lastexpress/lastexpress.h
index 11fa8c7ebe..0edd325118 100644
--- a/engines/lastexpress/lastexpress.h
+++ b/engines/lastexpress/lastexpress.h
@@ -79,7 +79,7 @@ public:
~LastExpressEngine();
// Misc
- Common::RandomSource getRandom() const {return _random; }
+ Common::RandomSource& getRandom() {return _random; }
// Game
Cursor *getCursor() const { return _cursor; }