aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/control.cpp b/engines/zvision/control.cpp
index af384cbf2f..986a7ae093 100644
--- a/engines/zvision/control.cpp
+++ b/engines/zvision/control.cpp
@@ -51,7 +51,7 @@ void Control::parsePanoramaControl(ZVision *engine, Common::SeekableReadStream &
renderTable->setPanoramaFoV(fov);
} else if (line.matchString("linscale*", true)) {
float scale;
- sscanf(line.c_str(), "angle(%f)", &scale);
+ sscanf(line.c_str(), "linscale(%f)", &scale);
renderTable->setPanoramaScale(scale);
} else if (line.matchString("reversepana*", true)) {
uint reverse;
@@ -83,7 +83,7 @@ void Control::parseTiltControl(ZVision *engine, Common::SeekableReadStream &stre
renderTable->setTiltFoV(fov);
} else if (line.matchString("linscale*", true)) {
float scale;
- sscanf(line.c_str(), "angle(%f)", &scale);
+ sscanf(line.c_str(), "linscale(%f)", &scale);
renderTable->setTiltScale(scale);
} else if (line.matchString("reversepana*", true)) {
uint reverse;