[Scummvm-git-logs] scummvm master -> 7df5b9487f231b4b811cdb71ba82ea1baf6b0643

dreammaster noreply at scummvm.org
Tue Dec 26 10:18:08 UTC 2023


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:
7df5b9487f M4: Hook up English credits


Commit: 7df5b9487f231b4b811cdb71ba82ea1baf6b0643
    https://github.com/scummvm/scummvm/commit/7df5b9487f231b4b811cdb71ba82ea1baf6b0643
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2023-12-26T00:17:34-10:00

Commit Message:
M4: Hook up English credits

There's some minor positioning issues, but at least it's okay

Changed paths:
    engines/m4/burger/rooms/section9/room904.cpp


diff --git a/engines/m4/burger/rooms/section9/room904.cpp b/engines/m4/burger/rooms/section9/room904.cpp
index 510281d5366..d84d1a51958 100644
--- a/engines/m4/burger/rooms/section9/room904.cpp
+++ b/engines/m4/burger/rooms/section9/room904.cpp
@@ -225,7 +225,7 @@ static const char *const CREDITS_ENG[] = {
 	nullptr
 };
 
-static const char *const CREDITS[] = {
+static const char *const CREDITS_DEU[] = {
 	"Entwurf",
 	"Spielentwurf:  Robert Aitken",
 	" ",
@@ -442,6 +442,8 @@ static const char *const CREDITS[] = {
 	nullptr
 };
 
+#define CREDITS (g_engine->getLanguage() == Common::DE_DEU ? CREDITS_DEU : CREDITS_ENG)
+
 void Room904::preload() {
 	_G(player).walker_in_this_scene = false;
 }
@@ -621,7 +623,7 @@ void Room904::updateCredits(TextItem *textItem, TextScrn *textScrn) {
 
 	playRandomSound(-1, 2);
 
-	if (strncmp(credit, "Haupt", 5)) {
+	if (strncmp(credit, "Haupt", 5) && strncmp(credit, "Back ", 5)) {
 		mouse_set_sprite(kArrowCursor);
 		gr_font_set(_G(font_conv));
 		_fontHeight = gr_font_get_height();




More information about the Scummvm-git-logs mailing list