From 65ab0812b755a4c2531be9573193baaf5742b9df Mon Sep 17 00:00:00 2001 From: Joshua Navarro Date: Sat, 22 Dec 2018 22:40:31 -0800 Subject: [PATCH] Got drawing at non tile spot working. --- GeneralMods/Revitalize/Framework/Objects/CustomObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs b/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs index 90ae8a6f..95a0707c 100644 --- a/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs +++ b/GeneralMods/Revitalize/Framework/Objects/CustomObject.cs @@ -263,7 +263,7 @@ namespace Revitalize.Framework.Objects int num3 = (bool)(this.flipped) ? 1 : 0; double num4 = (double)layerDepth; - spriteBatch1.Draw(this.displayTexture, local, this.animationManager.defaultDrawFrame.sourceRectangle, color, (float)num1, origin, (float)num2, (SpriteEffects)num3, (float)num4); + spriteBatch1.Draw(this.displayTexture, local, this.animationManager.defaultDrawFrame.sourceRectangle, color, (float)num1, origin, (float)4f, (SpriteEffects)num3, (float)num4); }