[Scummvm-git-logs] scummvm master -> 59f3e728b610fb4841874d53cd807b0af9ddadbe

dreammaster dreammaster at scummvm.org
Sat Apr 14 21:11:40 CEST 2018


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:
59f3e728b6 XEEN: Fix Book of Great Power removing skills


Commit: 59f3e728b610fb4841874d53cd807b0af9ddadbe
    https://github.com/scummvm/scummvm/commit/59f3e728b610fb4841874d53cd807b0af9ddadbe
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-14T15:11:34-04:00

Commit Message:
XEEN: Fix Book of Great Power removing skills

Changed paths:
    engines/xeen/party.cpp


diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp
index db73a47..3ee991d 100644
--- a/engines/xeen/party.cpp
+++ b/engines/xeen/party.cpp
@@ -889,7 +889,7 @@ bool Party::giveTake(int takeMode, uint takeVal, int giveMode, uint giveVal, int
 		ps._tempAge -= takeVal;
 		break;
 	case 13:
-		ps._skills[THIEVERY] = 0;
+		ps._skills[takeVal] = 0;
 		break;
 	case 15:
 		ps.setAward(takeVal, false);





More information about the Scummvm-git-logs mailing list