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

dreammaster noreply at scummvm.org
Fri Oct 28 02:10:05 UTC 2022


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:
c896eca7e4 XEEN: Fix malformed do/while loop


Commit: c896eca7e43c798fba20439ce17ca0f83704c588
    https://github.com/scummvm/scummvm/commit/c896eca7e43c798fba20439ce17ca0f83704c588
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-10-27T19:09:53-07:00

Commit Message:
XEEN: Fix malformed do/while loop

Changed paths:
    engines/xeen/dialogs/dialogs_create_char.cpp


diff --git a/engines/xeen/dialogs/dialogs_create_char.cpp b/engines/xeen/dialogs/dialogs_create_char.cpp
index b47c2ee4d93..a6de43440e8 100644
--- a/engines/xeen/dialogs/dialogs_create_char.cpp
+++ b/engines/xeen/dialogs/dialogs_create_char.cpp
@@ -73,7 +73,7 @@ void CreateCharacterDialog::execute() {
 	screen.loadBackground("create.raw");
 	events.setCursor(0);
 
-	while (!_vm->shouldExit()) {
+	do {
 		if (restartFlag) {
 			// Build up list of roster slot indexes that are free
 			freeCharList.clear();




More information about the Scummvm-git-logs mailing list