Permalink
Browse files

Revert "Making OffsetMap bug look better"

This reverts commit 9c17d8e.
  • Loading branch information...
jianmingyong committed Dec 9, 2016
1 parent 55e7c8d commit 8c537c03f143b84f2066e0ba38b6f9e095fc0de4
Showing with 0 additions and 5 deletions.
  1. +0 −5 2.5DHero/2.5DHero/World/Level.vb
@@ -887,9 +887,6 @@ Public Class Level
''' Renders offset map entities.
''' </summary>
Private Sub RenderOffsetMap()
Dim state = GraphicsDevice.DepthStencilState
GraphicsDevice.DepthStencilState = DepthStencilState.DepthRead
'Render floors:
For i = 0 To Me.OffsetmapFloors.Count - 1
If i <= Me.OffsetmapFloors.Count - 1 Then
@@ -909,8 +906,6 @@ Public Class Level
End If
End If
Next
GraphicsDevice.DepthStencilState = state
End Sub
''' <summary>

0 comments on commit 8c537c0

Please sign in to comment.