aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/control.cpp')
-rw-r--r--engines/zvision/control.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/zvision/control.cpp b/engines/zvision/control.cpp
index 59ef14eb07..af384cbf2f 100644
--- a/engines/zvision/control.cpp
+++ b/engines/zvision/control.cpp
@@ -54,8 +54,8 @@ void Control::parsePanoramaControl(ZVision *engine, Common::SeekableReadStream &
sscanf(line.c_str(), "angle(%f)", &scale);
renderTable->setPanoramaScale(scale);
} else if (line.matchString("reversepana*", true)) {
- byte reverse;
- sscanf(line.c_str(), "reversepana(%hhu)", &reverse);
+ uint reverse;
+ sscanf(line.c_str(), "reversepana(%u)", &reverse);
if (reverse == 1) {
renderTable->setPanoramaReverse(true);
}
@@ -86,8 +86,8 @@ void Control::parseTiltControl(ZVision *engine, Common::SeekableReadStream &stre
sscanf(line.c_str(), "angle(%f)", &scale);
renderTable->setTiltScale(scale);
} else if (line.matchString("reversepana*", true)) {
- byte reverse;
- sscanf(line.c_str(), "reversepana(%hhu)", &reverse);
+ uint reverse;
+ sscanf(line.c_str(), "reversepana(%u)", &reverse);
if (reverse == 1) {
renderTable->setTiltReverse(true);
}