From 0cf287ca11161582eb85c19ea3d65864571c48d5 Mon Sep 17 00:00:00 2001 From: Deathmax Date: Thu, 12 Jan 2012 19:06:11 +0800 Subject: [PATCH] Increase the projectile range to 128 rather than 100. (2048px) --- TShockAPI/GetDataHandlers.cs | 2 +- TShockAPI/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index ab1aa1f1..709d6375 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -2105,7 +2105,7 @@ namespace TShockAPI if (TShock.Config.RangeChecks && TShock.CheckRangePermission(args.Player, (int) (Main.npc[id].position.X/16f), (int) (Main.npc[id].position.Y/16f), - 100)) + 128)) { args.Player.SendData(PacketTypes.NpcUpdate, "", id); return true; diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index eb510313..05f3b5ee 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -48,5 +48,5 @@ using System.Runtime.InteropServices; // Build Number // MMdd of the build -[assembly: AssemblyVersion("3.4.5.0107")] -[assembly: AssemblyFileVersion("3.4.5.0107")] +[assembly: AssemblyVersion("3.4.5.0112")] +[assembly: AssemblyFileVersion("3.4.5.0112")]