diff options
Diffstat (limited to 'engines/sludge/loadsave.cpp')
-rw-r--r-- | engines/sludge/loadsave.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sludge/loadsave.cpp b/engines/sludge/loadsave.cpp index d1fd187c92..e735d60049 100644 --- a/engines/sludge/loadsave.cpp +++ b/engines/sludge/loadsave.cpp @@ -418,7 +418,7 @@ bool saveGame(char *fname) { // Save backdrop fp->writeUint16BE(cameraX); fp->writeUint16BE(cameraY); - putFloat(cameraZoom, fp); + fp->writeFloatLE(cameraZoom); fp->writeByte(brightnessLevel); saveHSI(fp); @@ -604,7 +604,7 @@ bool loadGame(char *fname) { int camerY = fp->readUint16BE(); float camerZ; if (ssgVersion >= VERSION(2, 0)) { - camerZ = getFloat(fp); + camerZ = fp->readFloatLE(); } else { camerZ = 1.0; } @@ -672,8 +672,8 @@ bool loadGame(char *fname) { if (ssgVersion < VERSION(2, 0)) { // aaLoad fp->readByte(); - getFloat(fp); - getFloat(fp); + fp->readFloatLE(); + fp->readFloatLE(); } blur_loadSettings(fp); |