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

dreammaster paulfgilbert at gmail.com
Sat Aug 10 03:03:49 CEST 2019


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:
a6e485e576 XEEN: Fix not giving skills if party doesn't have enough gold


Commit: a6e485e57660e6bff479c6e50f4e570017179b6d
    https://github.com/scummvm/scummvm/commit/a6e485e57660e6bff479c6e50f4e570017179b6d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-08-09T18:03:40-07:00

Commit Message:
XEEN: Fix not giving skills if party doesn't have enough gold

Changed paths:
    engines/xeen/scripts.cpp


diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index c85362b..2feb4fa 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -802,6 +802,8 @@ bool Scripts::cmdTakeOrGive(ParamsIterator &params) {
 			if (!party.giveTake(mode1, val1, mode2, val2, _charIndex - 1)) {
 				if (mode2 == 79)
 					windows.closeAll();
+			} else {
+				return cmdExit(params);
 			}
 		}
 		break;





More information about the Scummvm-git-logs mailing list