[Scummvm-git-logs] scummvm master -> 35853a4cd49fecee39d39c7437b3bed4111cb395
sluicebox
noreply at scummvm.org
Mon Dec 8 19:02:47 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
35853a4cd4 PRIVATE: Fix phone bug when loading game
Commit: 35853a4cd49fecee39d39c7437b3bed4111cb395
https://github.com/scummvm/scummvm/commit/35853a4cd49fecee39d39c7437b3bed4111cb395
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2025-12-08T11:01:24-08:00
Commit Message:
PRIVATE: Fix phone bug when loading game
Changed paths:
engines/private/private.cpp
diff --git a/engines/private/private.cpp b/engines/private/private.cpp
index 8b2bb0db3f4..b83cffb76c0 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -1801,9 +1801,8 @@ Common::Error PrivateEngine::loadGameStream(Common::SeekableReadStream *stream)
size = stream->readUint32LE();
_phones.clear();
- PhoneInfo p;
- Common::String name;
for (uint32 j = 0; j < size; ++j) {
+ PhoneInfo p;
p.name = stream->readString();
p.once = (stream->readByte() == 1);
p.startIndex = stream->readSint32LE();
More information about the Scummvm-git-logs
mailing list