mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 11:31:30 +00:00
Remove debugging
This commit is contained in:
parent
790304d1f1
commit
29a62dfa85
@ -272,7 +272,6 @@ bool Client::Process() {
|
|||||||
if (force_spawn_updates && mob != this) {
|
if (force_spawn_updates && mob != this) {
|
||||||
|
|
||||||
if (mob->is_distance_roamer) {
|
if (mob->is_distance_roamer) {
|
||||||
Log(Logs::General, Logs::Debug, "Updating distance roamer %s", mob->GetCleanName());
|
|
||||||
mob->SendPositionUpdateToClient(this);
|
mob->SendPositionUpdateToClient(this);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -857,7 +857,7 @@ float Mob::GetFixedZ(glm::vec3 dest, int32 z_find_offset)
|
|||||||
!zone->watermap->InWater(glm::vec3(m_Position))))
|
!zone->watermap->InWater(glm::vec3(m_Position))))
|
||||||
{
|
{
|
||||||
/* Any more than 5 in the offset makes NPC's hop/snap to ceiling in small corridors */
|
/* Any more than 5 in the offset makes NPC's hop/snap to ceiling in small corridors */
|
||||||
new_z = this->FindDestGroundZ(dest,z_find_offset);
|
new_z = this->FindDestGroundZ(dest, z_find_offset);
|
||||||
if (new_z != BEST_Z_INVALID)
|
if (new_z != BEST_Z_INVALID)
|
||||||
{
|
{
|
||||||
new_z += this->GetZOffset();
|
new_z += this->GetZOffset();
|
||||||
@ -882,7 +882,7 @@ float Mob::GetFixedZ(glm::vec3 dest, int32 z_find_offset)
|
|||||||
void Mob::FixZ(int32 z_find_offset /*= 5*/)
|
void Mob::FixZ(int32 z_find_offset /*= 5*/)
|
||||||
{
|
{
|
||||||
glm::vec3 current_loc(m_Position);
|
glm::vec3 current_loc(m_Position);
|
||||||
float new_z=GetFixedZ(current_loc, z_find_offset);
|
float new_z = GetFixedZ(current_loc, z_find_offset);
|
||||||
|
|
||||||
if (new_z != m_Position.z)
|
if (new_z != m_Position.z)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user