mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
fixed player position updates i think
This commit is contained in:
@@ -161,6 +161,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
|
||||
public void UpdateActorPosition(Actor actor)
|
||||
{
|
||||
this.hasMoved = true;
|
||||
|
||||
int gridX = (int)actor.positionX / boundingGridSize;
|
||||
int gridY = (int)actor.positionZ / boundingGridSize;
|
||||
|
||||
@@ -202,7 +204,6 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
mActorBlock[gridOldX, gridOldY].Remove(actor);
|
||||
mActorBlock[gridX, gridY].Add(actor);
|
||||
}
|
||||
this.hasMoved = true;
|
||||
}
|
||||
|
||||
public List<Actor> GetActorsAroundPoint(float x, float y, int checkDistance)
|
||||
|
Reference in New Issue
Block a user