[Scummvm-git-logs] scummvm master -> e6f65eef86c4edebea26d96a157e1ff258ffc567

klusark noreply at scummvm.org
Sat Nov 14 18:29:02 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:
e6f65eef86 GRIM: Always update TextObjects


Commit: e6f65eef86c4edebea26d96a157e1ff258ffc567
    https://github.com/scummvm/scummvm/commit/e6f65eef86c4edebea26d96a157e1ff258ffc567
Author: Joel Teichroeb (joel at teichroeb.net)
Date: 2026-11-14T13:28:16-05:00

Commit Message:
GRIM: Always update TextObjects

In frames where we invalidate the text object, we miss counting time

Assisted by AI

Changed paths:
    engines/grim/textobject.cpp


diff --git a/engines/grim/textobject.cpp b/engines/grim/textobject.cpp
index bb2ce6d9e8b..a0d59b0f6d4 100644
--- a/engines/grim/textobject.cpp
+++ b/engines/grim/textobject.cpp
@@ -395,7 +395,8 @@ void TextObject::draw() {
 }
 
 void TextObject::update() {
-	if (!_duration || !_created) {
+	if (_duration == 0) {
+		// this object never automatically expires
 		return;
 	}
 




More information about the Scummvm-git-logs mailing list