aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index cc588cc1b2..10ec09534a 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1419,7 +1419,7 @@ bool Scumm::akos_increaseAnim(Actor *a, int chan, byte *aksq, uint16 *akfo, int
continue;
case AKC_Random:
- a->setAnimVar(GB(6), getRandomNumberRng(GW(2), GW(4)));
+ a->setAnimVar(GB(6), _rnd.getRandomNumberRng(GW(2), GW(4)));
continue;
case AKC_SkipGE:
case AKC_SkipG: