(no message)
diff --git a/PokemonGo.RocketAPI.Logic/Navigation.cs b/PokemonGo.RocketAPI.Logic/Navigation.cs
index 9742af6..8b39fdf 100644
--- a/PokemonGo.RocketAPI.Logic/Navigation.cs
+++ b/PokemonGo.RocketAPI.Logic/Navigation.cs
@@ -104,11 +104,11 @@ namespace PokemonGo.RocketAPI.Logic
for (var i = 1; i < pokeStops.Length - 1; i++)
{
var closest = i + 1;
- var cloestDist = LocationUtils.CalculateDistanceInMeters(new Navigation.Location(pokeStops[i].Latitude, pokeStops[i].Longitude), new Navigation.Location(pokeStops[closest].Latitude, pokeStops[closest].Longitude));
+ var cloestDist = LocationUtils.CalculateDistanceInMeters(new Location(pokeStops[i].Latitude, pokeStops[i].Longitude), new Location(pokeStops[closest].Latitude, pokeStops[closest].Longitude));
for (var j = closest; j < pokeStops.Length; j++)
{
var initialDist = cloestDist;
- var newDist = LocationUtils.CalculateDistanceInMeters(new Navigation.Location(pokeStops[i].Latitude, pokeStops[i].Longitude), new Navigation.Location(pokeStops[j].Latitude, pokeStops[j].Longitude));
+ var newDist = LocationUtils.CalculateDistanceInMeters(new Location(pokeStops[i].Latitude, pokeStops[i].Longitude), new Location(pokeStops[j].Latitude, pokeStops[j].Longitude));
if (initialDist > newDist)
{
cloestDist = newDist;
diff --git a/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj b/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
index 41e5d8a..576a791 100644
--- a/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
+++ b/PokemonGo.RocketAPI/PokemonGo.RocketAPI.csproj
@@ -17,7 +17,7 @@
<UpdateAssemblyInfoVersion>False</UpdateAssemblyInfoVersion>
<AssemblyVersionSettings>YearStamp.MonthStamp.DayStamp.Increment</AssemblyVersionSettings>
<PrimaryVersionType>AssemblyVersionAttribute</PrimaryVersionType>
- <AssemblyVersion>2016.7.23.121</AssemblyVersion>
+ <AssemblyVersion>2016.7.23.123</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
diff --git a/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs b/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
index 212d2d5..8284abf 100644
--- a/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
+++ b/PokemonGo.RocketAPI/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2016.7.23.121")]
+[assembly: AssemblyVersion("2016.7.23.123")]
[assembly: AssemblyFileVersion("1.0.0.0")]
You may download the files in Public Git.