mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Correct vb name
This commit is contained in:
parent
bf2a8aebc6
commit
5e4f5d830c
@ -38,7 +38,7 @@ Public Class TextureManager
|
||||
End Try
|
||||
End Using
|
||||
Else
|
||||
Logger.Log(Logger.LogTypes.ErrorMessage, "Textures.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
|
||||
Logger.Log(Logger.LogTypes.ErrorMessage, "TextureManager.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
|
||||
Return DefaultTexture
|
||||
End If
|
||||
Else
|
||||
@ -104,7 +104,7 @@ Public Class TextureManager
|
||||
End Try
|
||||
End Using
|
||||
Else
|
||||
Logger.Log(Logger.LogTypes.ErrorMessage, "Textures.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
|
||||
Logger.Log(Logger.LogTypes.ErrorMessage, "TextureManager.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
|
||||
Return DefaultTexture
|
||||
End If
|
||||
Else
|
||||
@ -156,7 +156,7 @@ Public Class TextureManager
|
||||
|
||||
Dim tRectangle As New Rectangle(0, 0, Texture.Width, Texture.Height)
|
||||
If tRectangle.Contains(Rectangle) = False Then
|
||||
Logger.Log(Logger.LogTypes.ErrorMessage, "Textures.vb: The rectangle for a texture was out of bounds!")
|
||||
Logger.Log(Logger.LogTypes.ErrorMessage, "TextureManager.vb: The rectangle for a texture was out of bounds!")
|
||||
Return DefaultTexture
|
||||
End If
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user