aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhiterandrek2018-06-12 11:10:07 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commite0fa8fe1711efbd52e4148ee6efa7df8e7f45d26 (patch)
treeda5baeca3fafa2be629e71d5aaed0a14f9d13749
parenta37a7895dbfc3d71307e4e25c883a9eb1929e928 (diff)
downloadscummvm-rg350-e0fa8fe1711efbd52e4148ee6efa7df8e7f45d26.tar.gz
scummvm-rg350-e0fa8fe1711efbd52e4148ee6efa7df8e7f45d26.tar.bz2
scummvm-rg350-e0fa8fe1711efbd52e4148ee6efa7df8e7f45d26.zip
PINK: fix ActionLoop Random
-rw-r--r--engines/pink/objects/actions/action_loop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp
index 92b14b6ba7..79946ade46 100644
--- a/engines/pink/objects/actions/action_loop.cpp
+++ b/engines/pink/objects/actions/action_loop.cpp
@@ -89,6 +89,7 @@ void ActionLoop::update() {
case kRandom: { // Not tested
Common::RandomSource &rnd = _actor->getPage()->getGame()->getRnd();
setFrame(rnd.getRandomNumberRng(_startFrame, _stopFrame));
+ decodeNext();
break;
}
case kForward: