[Scummvm-git-logs] scummvm master -> 2444dba47fdc21231ee11a0c5465ac3c8ac3b101
eriktorbjorn
noreply at scummvm.org
Wed Jul 17 10:02:17 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2444dba47f SCUMM: HE: Fix bad assert in ScummEngine_v72he::writeFileFromArray()
Commit: 2444dba47fdc21231ee11a0c5465ac3c8ac3b101
https://github.com/scummvm/scummvm/commit/2444dba47fdc21231ee11a0c5465ac3c8ac3b101
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-07-17T12:01:11+02:00
Commit Message:
SCUMM: HE: Fix bad assert in ScummEngine_v72he::writeFileFromArray()
This is Bosca's fix, but he's on the other side of Europe.
Changed paths:
engines/scumm/he/script_v72he.cpp
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 8180a367756..75ea42e5e3f 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -1765,7 +1765,7 @@ void ScummEngine_v72he::writeFileFromArray(int slot, int32 resID) {
(FROM_LE_32(ah->downMax) - FROM_LE_32(ah->downMin) + 1);
if (slot != -1) {
- assert(_hInFileTable[slot]);
+ assert(_hOutFileTable[slot]);
_hOutFileTable[slot]->write(ah->data, size);
}
}
More information about the Scummvm-git-logs
mailing list