Skip to content

Commit 9798aee

Browse files
committed
Editor: fixed surface painter marking the wrong area as dirty
1 parent 47f8cd6 commit 9798aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DelvEdit/src/com/interrupt/dungeoneer/editor/EditorFrame.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3519,7 +3519,7 @@ else if(pickedSurface.edge == TileEdges.South) {
35193519
t.init(Source.EDITOR);
35203520

35213521
history.saveState(level);
3522-
markWorldAsDirty((int)pickedSurface.position.x, (int)pickedSurface.position.y, 1);
3522+
markWorldAsDirty((int)pickedSurface.position.x, (int)pickedSurface.position.z, 1);
35233523
}
35243524
}
35253525

0 commit comments

Comments
 (0)