diff options
Diffstat (limited to 'engines/sludge/talk.cpp')
-rw-r--r-- | engines/sludge/talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sludge/talk.cpp b/engines/sludge/talk.cpp index 8f3dd02f20..12f6d8e151 100644 --- a/engines/sludge/talk.cpp +++ b/engines/sludge/talk.cpp @@ -216,7 +216,7 @@ void saveSpeech(speechStruct *sS, Common::WriteStream *stream) { stream->writeByte(sS->talkCol.originalGreen); stream->writeByte(sS->talkCol.originalBlue); - putFloat(speechSpeed, stream); + stream->writeFloatLE(speechSpeed); // Write y co-ordinate stream->writeUint16BE(sS->speechY); @@ -248,7 +248,7 @@ bool loadSpeech(speechStruct *sS, Common::SeekableReadStream *stream) { byte b = stream->readByte(); setFontColour(sS->talkCol, r, g, b); - speechSpeed = getFloat(stream); + speechSpeed = stream->readFloatLE(); // Read y co-ordinate sS->speechY = stream->readUint16BE(); |