From 8a374bdf0c9ab5df77c43a4e89249144e123e4cd Mon Sep 17 00:00:00 2001 From: Evgeny Grechnikov Date: Thu, 18 Oct 2018 00:56:28 +0300 Subject: LASTEXPRESS: rnd() should not return a constant --- engines/lastexpress/lastexpress.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3