[Scummvm-git-logs] scummvm master -> 9adaaf9c94ff7989441522548915b55de8ea5e9f

dreammaster dreammaster at scummvm.org
Tue Feb 13 04:40:26 CET 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:
9adaaf9c94 XEEN: Correct loading of auxiliary map data for Swords of Xeen


Commit: 9adaaf9c94ff7989441522548915b55de8ea5e9f
    https://github.com/scummvm/scummvm/commit/9adaaf9c94ff7989441522548915b55de8ea5e9f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-02-12T22:40:25-05:00

Commit Message:
XEEN: Correct loading of auxiliary map data for Swords of Xeen

Changed paths:
    engines/xeen/map.cpp


diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp
index f3c00dd..16fce58 100644
--- a/engines/xeen/map.cpp
+++ b/engines/xeen/map.cpp
@@ -992,7 +992,11 @@ void Map::load(int mapId) {
 		_sideTownPortal = _loadDarkSide ? 1 : 0;
 	}
 
-	if (_vm->getGameID() == GType_WorldOfXeen) {
+	if (_vm->getGameID() == GType_Swords) {
+		_animationInfo.load("dark.dat");
+		_monsterData.load("dark.mon");
+		_wallPicSprites.load("darkpic.dat");
+	} else if (_vm->getGameID() == GType_WorldOfXeen) {
 		files.setGameCc(1);
 
 		if (!_loadDarkSide) {





More information about the Scummvm-git-logs mailing list