diff options
-rw-r--r-- | engines/pink/objects/actions/action_loop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp index 9635101d62..18e9bf4c5c 100644 --- a/engines/pink/objects/actions/action_loop.cpp +++ b/engines/pink/objects/actions/action_loop.cpp @@ -40,7 +40,7 @@ void ActionLoop::deserialize(Archive &archive) { _style = kPingPong; break; case kRandom: - _style = kRandom; // haven't seen + _style = kRandom; break; default: _style = kForward; @@ -83,7 +83,7 @@ void ActionLoop::update() { decodeNext(); } break; - case kRandom: { // Not tested + case kRandom: { Common::RandomSource &rnd = _actor->getPage()->getGame()->getRnd(); setFrame(rnd.getRandomNumberRng(_startFrame, _stopFrame)); decodeNext(); |