From 774cc3fc67c68a26d5eb0d7e5b6b241d36b40c58 Mon Sep 17 00:00:00 2001 From: hamstar Date: Sun, 30 Jul 2017 18:44:29 -0700 Subject: [PATCH] v1.6.4.5 * Fixed natural wormholes relocating improperly via Chaos Bomb hits --- Wormholes/WormholePortal.cs | 4 ++-- build.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Wormholes/WormholePortal.cs b/Wormholes/WormholePortal.cs index b89d537..7e7987b 100644 --- a/Wormholes/WormholePortal.cs +++ b/Wormholes/WormholePortal.cs @@ -1,5 +1,4 @@ -using HamstarHelpers.MiscHelpers; -using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ID; @@ -77,6 +76,7 @@ public void Close() { public void ChangePosition( Vector2 pos ) { this._pos = pos; + this.Rect = new Rectangle( (int)pos.X, (int)pos.Y, this.Rect.Width, this.Rect.Height ); } //////////////// diff --git a/build.txt b/build.txt index 51ae8d2..b3b8d52 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = hamstar -version = 1.6.4.4 +version = 1.6.4.5 displayName = Wormholes modReferences = HamstarHelpers buildIgnore = *.csproj, *.user, obj\*, bin\*, .vs\*