aboutsummaryrefslogtreecommitdiff
path: root/common/rational.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-25 22:04:28 -0400
committerPaul Gilbert2017-07-25 22:04:28 -0400
commit6b80c13467df4253b19454d7fdb17a6c2c290d97 (patch)
tree78509f75a6c6fab03433a021d4abbd530fdb7bf5 /common/rational.h
parentd4623c14a133dbfbe43eacf3c3ed3f4f34d8eaa2 (diff)
downloadscummvm-rg350-6b80c13467df4253b19454d7fdb17a6c2c290d97.tar.gz
scummvm-rg350-6b80c13467df4253b19454d7fdb17a6c2c290d97.tar.bz2
scummvm-rg350-6b80c13467df4253b19454d7fdb17a6c2c290d97.zip
TITANIC: Fix the CBilgeDispensorEvent not firing
It seems in the original CGameManager::update, and thus frameMessage, is called at an ultra high rate, allowing the dispensor's counter to quickly reach a trigger level. Whereas in the ScummVM implementation, the update method is only called at most a few times per frame. Rather than needlessly increasing the rate the update method is called, I've refactored CBilgeDispensorEvent to not need the counter. Though it still derives from CAutoSoundEvent so savegame loading still works.
Diffstat (limited to 'common/rational.h')
0 files changed, 0 insertions, 0 deletions