From 819675970aac5f7db96e6948e6b8a6176819b39c Mon Sep 17 00:00:00 2001 From: jianmingyong Date: Fri, 30 Sep 2016 01:30:44 +0800 Subject: [PATCH] Undo Aragas wrongful fixes --- 2.5DHero/2.5DHero/Screens/MapScreen.vb | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/2.5DHero/2.5DHero/Screens/MapScreen.vb b/2.5DHero/2.5DHero/Screens/MapScreen.vb index ee5716396..2b8c48326 100644 --- a/2.5DHero/2.5DHero/Screens/MapScreen.vb +++ b/2.5DHero/2.5DHero/Screens/MapScreen.vb @@ -427,9 +427,10 @@ End If ' Plz Fix It Aragaz Plz - Dim texture = Route.getTexture(objectsTexture, isSelected) - Core.SpriteBatch.Draw(texture, Route.getRectangle(mapOffset), c) - texture.Dispose() + 'Dim texture = Route.getTexture(objectsTexture, isSelected) + 'Core.SpriteBatch.Draw(texture, Route.getRectangle(mapOffset), c) + 'texture.Dispose() + Core.SpriteBatch.Draw(Route.getTexture(objectsTexture, isSelected), Route.getRectangle(mapOffset), c) Next End If @@ -446,9 +447,10 @@ End If ' Plz Fix It Aragaz Plz - Dim texture = City.getTexture(objectsTexture, isSelected) - Core.SpriteBatch.Draw(texture, City.getRectangle(mapOffset), c) - texture.Dispose() + 'Dim texture = City.getTexture(objectsTexture, isSelected) + 'Core.SpriteBatch.Draw(texture, City.getRectangle(mapOffset), c) + 'texture.Dispose() + Core.SpriteBatch.Draw(City.getTexture(objectsTexture, isSelected), City.getRectangle(mapOffset), c) Next End If @@ -465,9 +467,10 @@ End If ' Plz Fix It Aragaz Plz - Dim texture = Place.getTexture(objectsTexture, isSelected) - Core.SpriteBatch.Draw(texture, Place.getRectangle(mapOffset), c) - texture.Dispose() + 'Dim texture = Place.getTexture(objectsTexture, isSelected) + 'Core.SpriteBatch.Draw(texture, Place.getRectangle(mapOffset), c) + 'texture.Dispose() + Core.SpriteBatch.Draw(Place.getTexture(objectsTexture, isSelected), Place.getRectangle(mapOffset), c) Next End If