diff options
author | richiesams | 2013-08-03 13:48:42 -0500 |
---|---|---|
committer | richiesams | 2013-08-04 13:33:07 -0500 |
commit | 5ef19407b4b16943c33265df4dc388738e710522 (patch) | |
tree | 270f5047961e7ac421401055a4f9ba730eb73ca5 /engines | |
parent | 8d5e92b935966fdae84182dd7e7845280fb38ad4 (diff) | |
download | scummvm-rg350-5ef19407b4b16943c33265df4dc388738e710522.tar.gz scummvm-rg350-5ef19407b4b16943c33265df4dc388738e710522.tar.bz2 scummvm-rg350-5ef19407b4b16943c33265df4dc388738e710522.zip |
ZVISION: Fix typo in panarama and tilt control parsing
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/control.cpp | 4 |
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; |