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

whoozle noreply at scummvm.org
Wed Jul 22 22:58:21 UTC 2026


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:
f2636e1ec0 PHOENIXVR: Check for empty history before popping value out


Commit: f2636e1ec098f8130bfe3e10a017e8626c313d92
    https://github.com/scummvm/scummvm/commit/f2636e1ec098f8130bfe3e10a017e8626c313d92
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-07-22T23:57:55+01:00

Commit Message:
PHOENIXVR: Check for empty history before popping value out

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 9670d5f9cad..8f18b18d3cb 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -830,6 +830,10 @@ void PhoenixVREngine::goToLevel(const Common::String &name) {
 
 void PhoenixVREngine::returnToWarp() {
 	if (version() == 2) {
+		if (_prevWarpHistory.empty()) {
+			warning("return: empty history stack");
+			return;
+		}
 		_nextWarp = _prevWarpHistory.back();
 		_prevWarpHistory.pop_back();
 	} else {




More information about the Scummvm-git-logs mailing list