Revert "Making OffsetMap bug look better"
This reverts commit 9c17d8e5a4
.
This commit is contained in:
parent
55e7c8d2e1
commit
8c537c03f1
|
@ -887,9 +887,6 @@ Public Class Level
|
||||||
''' Renders offset map entities.
|
''' Renders offset map entities.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Private Sub RenderOffsetMap()
|
Private Sub RenderOffsetMap()
|
||||||
Dim state = GraphicsDevice.DepthStencilState
|
|
||||||
GraphicsDevice.DepthStencilState = DepthStencilState.DepthRead
|
|
||||||
|
|
||||||
'Render floors:
|
'Render floors:
|
||||||
For i = 0 To Me.OffsetmapFloors.Count - 1
|
For i = 0 To Me.OffsetmapFloors.Count - 1
|
||||||
If i <= Me.OffsetmapFloors.Count - 1 Then
|
If i <= Me.OffsetmapFloors.Count - 1 Then
|
||||||
|
@ -909,8 +906,6 @@ Public Class Level
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
|
||||||
GraphicsDevice.DepthStencilState = state
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
|
|
Loading…
Reference in New Issue