[Scummvm-git-logs] scummvm master -> 5e2032e7544a242f8f4fd056d5daa0c34be4f769

athrxx noreply at scummvm.org
Mon Nov 15 01:57:38 UTC 2021


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:
5e2032e754 KYRA: (LoK/Japanese/Chinese) - fix font glitch when pressing Esc during logo sequence


Commit: 5e2032e7544a242f8f4fd056d5daa0c34be4f769
    https://github.com/scummvm/scummvm/commit/5e2032e7544a242f8f4fd056d5daa0c34be4f769
Author: athrxx (athrxx at scummvm.org)
Date: 2021-11-15T02:56:52+01:00

Commit Message:
KYRA: (LoK/Japanese/Chinese) - fix font glitch when pressing Esc during logo sequence

The font has to be set to the standard font once during the intro sequence to display the Westwood copyright. When hitting Esc at the right time it could prevent the font to be reset correcty.

Changed paths:
    engines/kyra/sequence/sequences_lok.cpp


diff --git a/engines/kyra/sequence/sequences_lok.cpp b/engines/kyra/sequence/sequences_lok.cpp
index 8401b6932b..5a6e0de90f 100644
--- a/engines/kyra/sequence/sequences_lok.cpp
+++ b/engines/kyra/sequence/sequences_lok.cpp
@@ -118,6 +118,8 @@ void KyraEngine_LoK::seq_intro() {
 		}
 	}
 
+	_screen->setFont(_defaultFont);
+
 	_text->setTalkCoords(136);
 	delay(30 * _tickLength);
 	_seq->setCopyViewOffs(false);




More information about the Scummvm-git-logs mailing list