[Scummvm-git-logs] scummvm master -> 2af73137ff0c296964f287b37447b54c38d22251

neuromancer noreply at scummvm.org
Sat Nov 15 14:57:45 UTC 2025


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:
2af73137ff PRIVATE: Play phone calls in correct order


Commit: 2af73137ff0c296964f287b37447b54c38d22251
    https://github.com/scummvm/scummvm/commit/2af73137ff0c296964f287b37447b54c38d22251
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2025-11-15T15:57:42+01:00

Commit Message:
PRIVATE: Play phone calls in correct order

Changed paths:
    engines/private/private.cpp


diff --git a/engines/private/private.cpp b/engines/private/private.cpp
index 34575201de2..782815bd014 100644
--- a/engines/private/private.cpp
+++ b/engines/private/private.cpp
@@ -1120,11 +1120,11 @@ void PrivateEngine::selectPhoneArea(Common::Point mousePos) {
 		return;
 
 	if (inMask(_phoneArea.surf, mousePos)) {
-		const PhoneInfo &i = _phone.back();
+		const PhoneInfo &i = _phone.front();
 		setSymbol(i.flag, i.val);
 		Common::String sound = _phonePrefix + i.sound + ".wav";
 		playSound(sound, 1, true, false);
-		_phone.pop_back();
+		_phone.pop_front();
 	}
 }
 




More information about the Scummvm-git-logs mailing list