diff --git a/engines/pink/objects/actions/action_play_with_sfx.cpp b/engines/pink/objects/actions/action_play_with_sfx.cpp index e50c2f850f8f..be3f0cae7c1b 100644 --- a/engines/pink/objects/actions/action_play_with_sfx.cpp +++ b/engines/pink/objects/actions/action_play_with_sfx.cpp @@ -57,6 +57,7 @@ void ActionPlayWithSfx::update() { } else ActionPlay::update(); + currFrame++; for (uint i = 0; i < _sfxArray.size(); ++i) { if (_sfxArray[i]->getFrame() == currFrame) _sfxArray[i]->play(); diff --git a/engines/pink/pda_mgr.cpp b/engines/pink/pda_mgr.cpp index fbe6f4a0f08f..9b856da34834 100644 --- a/engines/pink/pda_mgr.cpp +++ b/engines/pink/pda_mgr.cpp @@ -172,7 +172,6 @@ void PDAMgr::updateWheels(bool playSfx) { Actor *wheel = _page->findActor(kCountryWheel); if (playSfx && wheel->getAction()->getName() != g_countries[_countryIndex]) { wheel->setAction(Common::String(g_countries[_countryIndex]) + kSfx); - dynamic_cast(wheel->getAction())->update(); dynamic_cast(wheel->getAction())->update(); // hack } wheel->setAction(g_countries[_countryIndex]); @@ -180,7 +179,6 @@ void PDAMgr::updateWheels(bool playSfx) { wheel = _page->findActor(kDomainWheel); if (playSfx && wheel->getAction()->getName() != g_domains[_domainIndex]) { wheel->setAction(Common::String(g_domains[_domainIndex]) + kSfx); - dynamic_cast(wheel->getAction())->update(); dynamic_cast(wheel->getAction())->update(); // hack } wheel->setAction(g_domains[_domainIndex]);