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

dreammaster dreammaster at scummvm.org
Sun Nov 7 22:47:24 UTC 2021


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:
2eaee92232 XEEN: Fix end address of spells grid fill


Commit: 2eaee92232de91b76de6a3788ccc2620e79b80d4
    https://github.com/scummvm/scummvm/commit/2eaee92232de91b76de6a3788ccc2620e79b80d4
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-11-07T14:47:16-08:00

Commit Message:
XEEN: Fix end address of spells grid fill

Changed paths:
    engines/xeen/dialogs/dialogs_spells.cpp


diff --git a/engines/xeen/dialogs/dialogs_spells.cpp b/engines/xeen/dialogs/dialogs_spells.cpp
index 4f6819e724..6998a93858 100644
--- a/engines/xeen/dialogs/dialogs_spells.cpp
+++ b/engines/xeen/dialogs/dialogs_spells.cpp
@@ -1027,7 +1027,7 @@ void DetectMonsters::execute() {
 	int grid[7][7];
 
 	SpriteResource sprites(ccNum ? "detectmn.icn" : "detctmon.icn");
-	Common::fill(&grid[0][0], &grid[6][6], 0);
+	Common::fill(&grid[0][0], &grid[6][7], 0);
 
 	w.open();
 	w.writeString(Res.DETECT_MONSTERS);




More information about the Scummvm-git-logs mailing list