diff options
author | Andrei Prykhodko | 2018-06-30 17:15:06 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-06-30 19:43:34 +0300 |
commit | d38ed02895574830708451e1e10f2986997981ed (patch) | |
tree | 26bce4eaaaac8706c9b53eb1613aa3257694aa36 /engines/pink | |
parent | 7f64a0cb5613c744a3d8e6fa8bc4614cd59e926a (diff) | |
download | scummvm-rg350-d38ed02895574830708451e1e10f2986997981ed.tar.gz scummvm-rg350-d38ed02895574830708451e1e10f2986997981ed.tar.bz2 scummvm-rg350-d38ed02895574830708451e1e10f2986997981ed.zip |
PINK: removed comments about ActionLoop Random style
Diffstat (limited to 'engines/pink')
-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(); |