mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-08 17:46:24 -05:00
Fixed small bug with map generator missing a cell.
This commit is contained in:
parent
04498ad9a5
commit
3cc6bd9035
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user