What bug does the patch fix? What features does the patch add?
used more correct Player::Setposition instead of Map::Relocation at player's relocation in Traveller
every relocation tick we need call CheckExploreSystem, update underwater state, update player position on minimap, etc. All that things doing in Player::SetPosition
diff --git a/src/game/Traveller.h b/src/game/Traveller.h
index dd58976..0116bea 100644
--- a/src/game/Traveller.h
+++ b/src/game/Traveller.h
@@ -141,7 +141,7 @@ inline float Traveller<Player>::GetMoveDestinationTo(float x, float y, float z)
template<>
inline void Traveller<Player>::Relocation(float x, float y, float z, float orientation)
{
- i_traveller.GetMap()->PlayerRelocation(&i_traveller, x, y, z, orientation);
+ i_traveller.SetPosition(x, y, z, orientation);
}
template<>