Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Object: Dont do anything if we are not in area.
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Nov 30, 2023
1 parent 790baef commit 8883858
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/server/game/Entities/Object/Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3264,13 +3264,6 @@ void WorldObject::UpdateAreaPhase()
updateNeeded = true;
}
}
else
{
// not in area, remove phase, true if there was something removed
bool up = SetPhased(phase.id, false, false);
if (!updateNeeded && up)
updateNeeded = true;
}
}
}

Expand Down

0 comments on commit 8883858

Please sign in to comment.