aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/res.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure/res.h')
-rw-r--r--engines/lure/res.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res.h b/engines/lure/res.h
index f5c8711c2b..a0a908f53d 100644
--- a/engines/lure/res.h
+++ b/engines/lure/res.h
@@ -114,7 +114,7 @@ public:
MemoryBlock *messagesData() { return _messagesData; }
uint16 getHotspotScript(uint16 index);
HotspotList &activeHotspots() { return _activeHotspots; }
- uint16 random() { return _rnd.getRandomNumber(65536) & 0xffff; }
+ uint16 getRandom() { return _rnd.getRandomNumber(0xffff); }
HotspotData *getHotspot(uint16 hotspotId);
Hotspot *getActiveHotspot(uint16 hotspotId);
HotspotOverrideData *getHotspotOverride(uint16 hotspotId);