diff options
author | Eugene Sandulenko | 2019-12-13 19:21:25 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-13 19:21:25 +0100 |
commit | 237c776b8e2176fad599e665fd75694e4bbf4f48 (patch) | |
tree | d0f7068bbafe386f9930dafb897c90af46742641 /engines/director/score.h | |
parent | d09cb00df11701282c809467b45d6d41df14bf0f (diff) | |
download | scummvm-rg350-237c776b8e2176fad599e665fd75694e4bbf4f48.tar.gz scummvm-rg350-237c776b8e2176fad599e665fd75694e4bbf4f48.tar.bz2 scummvm-rg350-237c776b8e2176fad599e665fd75694e4bbf4f48.zip |
DIRECTOR: Changed notion of 'go to' commands to postponed
Previously, we had immediate effect on _currentFrame, which could
affect the scripts, and we were losing event for 'exitFrame'. Now,
instead we're scheduling next frame in those cases.
Diffstat (limited to 'engines/director/score.h')
-rw-r--r-- | engines/director/score.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/score.h b/engines/director/score.h index d217a47227..1b8c8109f2 100644 --- a/engines/director/score.h +++ b/engines/director/score.h @@ -164,6 +164,7 @@ private: byte _currentFrameRate; uint16 _castArrayStart; uint16 _currentFrame; + uint16 _nextFrame; int _currentLabel; uint32 _flags; uint16 _castArrayEnd; |