mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Applying bugfix from Master to Develop.
Fixes the issue where actors are spawning in with default movement speed instead of their current.
This commit is contained in:
		| @@ -87,7 +87,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], moveSpeeds[3]); | ||||
|         } | ||||
|  | ||||
|         public SubPacket CreateSpawnPositonPacket(uint playerActorId, ushort spawnType) | ||||
|   | ||||
| @@ -146,6 +146,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_ACTIVE; | ||||
|  | ||||
|             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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user