[Scummvm-git-logs] scummvm master -> 48d6e9c94f26b99db707d0c8351ab6dd91ad9545

dreammaster noreply at scummvm.org
Sun Aug 9 10:54:12 UTC 2026


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:
48d6e9c94f MADS: DRAGONSPHERE: Fix crash at end of Dragonsphere intro


Commit: 48d6e9c94f26b99db707d0c8351ab6dd91ad9545
    https://github.com/scummvm/scummvm/commit/48d6e9c94f26b99db707d0c8351ab6dd91ad9545
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-08-09T20:54:04+10:00

Commit Message:
MADS: DRAGONSPHERE: Fix crash at end of Dragonsphere intro

Changed paths:
    engines/mads/animview/functions.cpp


diff --git a/engines/mads/animview/functions.cpp b/engines/mads/animview/functions.cpp
index cb09982358e..9fc97f36dc0 100644
--- a/engines/mads/animview/functions.cpp
+++ b/engines/mads/animview/functions.cpp
@@ -159,7 +159,7 @@ void read_resource(Common::SeekableReadStream *src) {
 	while (!src->eos()) {
 		Common::String line = src->readLine();
 		line.trim();
-		if (line.empty())
+		if (line.empty() || src->eos())
 			continue;
 
 		// Handle any flags at the start of the line




More information about the Scummvm-git-logs mailing list