1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 06:05:23 +00:00

Fixed small bug with map generator missing a cell.

This commit is contained in:
Tim Sarbin 2018-11-28 23:09:28 -05:00
parent 04498ad9a5
commit 3cc6bd9035

View File

@ -37,7 +37,7 @@ namespace OpenDiablo2.Core
var borderMap = gameState.LoadSubMap(defId, new Point(0, townMap.FileData.Height - 2));
borderMap.PrimaryMap = townMap;
var wilderness = gameState.LoadSubMap(wildBorder, new Point(26, townMap.FileData.Height + borderMap.FileData.Height));
var wilderness = gameState.LoadSubMap(wildBorder, new Point(26, townMap.FileData.Height + borderMap.FileData.Height - 2));
wilderness.PrimaryMap = townMap;
bloodMooreRect = new Rectangle(-40, townMap.FileData.Height + borderMap.FileData.Height, 120, 80);