mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Default speeds were not being set, and on actor load *currentSpeed* wasn't being loaded.
This commit is contained in:
parent
62cc343f51
commit
0f093235f8
@ -68,7 +68,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
|
||||
public SubPacket CreateSpeedPacket(uint playerActorId)
|
||||
{
|
||||
return SetActorSpeedPacket.BuildPacket(actorId, playerActorId);
|
||||
return SetActorSpeedPacket.BuildPacket(actorId, playerActorId, moveSpeeds[0], moveSpeeds[1], moveSpeeds[2]);
|
||||
}
|
||||
|
||||
public SubPacket CreateSpawnPositonPacket(uint playerActorId, uint spawnType)
|
||||
|
@ -133,6 +133,11 @@ namespace FFXIVClassic_Map_Server.Actors
|
||||
className = "Player";
|
||||
currentSubState = SetActorStatePacket.SUB_STATE_PLAYER;
|
||||
|
||||
moveSpeeds[0] = SetActorSpeedPacket.DEFAULT_STOP;
|
||||
moveSpeeds[1] = SetActorSpeedPacket.DEFAULT_WALK;
|
||||
moveSpeeds[2] = SetActorSpeedPacket.DEFAULT_RUN;
|
||||
moveSpeeds[3] = SetActorSpeedPacket.DEFAULT_RUN;
|
||||
|
||||
inventories[Inventory.NORMAL] = new Inventory(this, MAXSIZE_INVENTORY_NORMAL, Inventory.NORMAL);
|
||||
inventories[Inventory.KEYITEMS] = new Inventory(this, MAXSIZE_INVENTORY_KEYITEMS, Inventory.KEYITEMS);
|
||||
inventories[Inventory.CURRENCY] = new Inventory(this, MAXSIZE_INVENTORY_CURRANCY, Inventory.CURRENCY);
|
||||
|
Loading…
Reference in New Issue
Block a user