Minor oprator changes
This commit is contained in:
parent
39e5d754ff
commit
d18c44ef23
|
@ -208,7 +208,7 @@
|
|||
If Me.Rotation.Y <> Screen.Camera.Yaw Then
|
||||
Me.Rotation.Y = Screen.Camera.Yaw
|
||||
End If
|
||||
If Not Me.TextureID Is Nothing AndAlso Me.TextureID.ToLower() = "nilllzz" And Me.GameJoltID = "17441" Then
|
||||
If Me.TextureID IsNot Nothing AndAlso Me.TextureID.ToLower() = "nilllzz" And Me.GameJoltID = "17441" Then
|
||||
Me.Rotation.Z = MathHelper.Pi
|
||||
RotatedSprite = True
|
||||
Else
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
If Screen.Level.ShowOverworldPokemon = True Then
|
||||
If IsCorrectScreen() = True Then
|
||||
If Me.PokemonTexture <> "" Then
|
||||
If Not Me.Textures Is Nothing Then
|
||||
If Me.Textures IsNot Nothing Then
|
||||
Dim state = GraphicsDevice.DepthStencilState
|
||||
GraphicsDevice.DepthStencilState = DepthStencilState.DepthRead
|
||||
Draw(Me.Model, {Me.Textures(0)}, False)
|
||||
|
@ -93,7 +93,7 @@
|
|||
End If
|
||||
Else
|
||||
Dim c As Screen = Core.CurrentScreen
|
||||
While Not c.PreScreen Is Nothing
|
||||
While c.PreScreen IsNot Nothing
|
||||
c = c.PreScreen
|
||||
End While
|
||||
If screens.Contains(c.Identification) = True Then
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
End Sub
|
||||
|
||||
Public Sub ChangeTexture()
|
||||
If Not Me.Texture Is Nothing Then
|
||||
If Me.Texture IsNot Nothing Then
|
||||
Dim r As New Rectangle(0, 0, 0, 0)
|
||||
Dim cameraRotation As Integer = 0
|
||||
Dim spriteIndex As Integer = 0
|
||||
|
|
Loading…
Reference in New Issue