aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMarisa-Chan2013-10-17 21:24:50 +0000
committerMarisa-Chan2013-10-18 19:48:57 +0000
commit7a3518d7c3c81b2e34dcbba0682dd8dc6e43b80d (patch)
treeaeee9a52dac590eef60be712b818df6ad4453774 /engines
parentf1c6b58a943689c35bb448094577cfede19b92fc (diff)
downloadscummvm-rg350-7a3518d7c3c81b2e34dcbba0682dd8dc6e43b80d.tar.gz
scummvm-rg350-7a3518d7c3c81b2e34dcbba0682dd8dc6e43b80d.tar.bz2
scummvm-rg350-7a3518d7c3c81b2e34dcbba0682dd8dc6e43b80d.zip
ZVISION: Streamvideo alwayas skippable. Skippable flag renamed to skipline.
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/actions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp
index eae4ec2ed5..fbf2a58ad6 100644
--- a/engines/zvision/actions.cpp
+++ b/engines/zvision/actions.cpp
@@ -354,12 +354,12 @@ bool ActionSetScreen::execute(ZVision *engine) {
ActionStreamVideo::ActionStreamVideo(const Common::String &line) {
char fileName[25];
- uint skippable;
+ uint skipline; //skipline - render video with skip every second line, not skippable.
- sscanf(line.c_str(), "%*[^(](%25s %u %u %u %u %u %u)", fileName, &_x1, &_y1, &_x2, &_y2, &_flags, &skippable);
+ sscanf(line.c_str(), "%*[^(](%25s %u %u %u %u %u %u)", fileName, &_x1, &_y1, &_x2, &_y2, &_flags, &skipline);
_fileName = Common::String(fileName);
- _skippable = (skippable == 0) ? false : true;
+ _skippable = true;
}
bool ActionStreamVideo::execute(ZVision *engine) {