[Scummvm-git-logs] scummvm master -> 5d1895ff5b1043fa50e414c7b4c250e5bfb5f146
rvanlaar
noreply at scummvm.org
Fri Mar 18 22:46: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:
5d1895ff5b DIRECTOR: Rephrase quit warning (#3759)
Commit: 5d1895ff5b1043fa50e414c7b4c250e5bfb5f146
https://github.com/scummvm/scummvm/commit/5d1895ff5b1043fa50e414c7b4c250e5bfb5f146
Author: Athanasios Antoniou (a.antoniou79 at gmail.com)
Date: 2022-03-18T23:46:01+01:00
Commit Message:
DIRECTOR: Rephrase quit warning (#3759)
* DIRECTOR: Rephrase quit warning
For the case when a script has locked off quitting the game
Also set the dialogue buttons to Yes and No
Changed paths:
engines/director/events.cpp
diff --git a/engines/director/events.cpp b/engines/director/events.cpp
index d07f906f658..961f729f930 100644
--- a/engines/director/events.cpp
+++ b/engines/director/events.cpp
@@ -87,8 +87,8 @@ bool DirectorEngine::processEvents(bool captureClick) {
void DirectorEngine::processEventQUIT() {
if (g_lingo->_exitLock) {
- Common::U32String message = _("The game wants to prevents you from quitting. Do you want to quit?");
- GUI::MessageDialog dialog(message, _("OK"), _("Cancel"));
+ Common::U32String message = _("The game prevents quitting at this moment. Are you sure you want to quit anyway?");
+ GUI::MessageDialog dialog(message, _("Yes"), _("No"));
g_system->getEventManager()->resetQuit(); // Clear the quit event
_mixer->pauseAll(true);
More information about the Scummvm-git-logs
mailing list