1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-21 04:07:48 +00:00

Redundent zoneid was redundent.

This commit is contained in:
Filip Maj 2016-04-07 22:32:04 -04:00
parent b68d13ea7f
commit 1f5788def8

View file

@ -347,7 +347,7 @@ namespace FFXIVClassic_Map_Server
} }
//Moves actor to new zone, and sends packets to spawn at the given zone entrance //Moves actor to new zone, and sends packets to spawn at the given zone entrance
public void DoZoneChange(Player player, uint destinationZoneId, uint zoneEntrance) public void DoZoneChange(Player player, uint zoneEntrance)
{ {
if (!zoneEntranceList.ContainsKey(zoneEntrance)) if (!zoneEntranceList.ContainsKey(zoneEntrance))
{ {
@ -356,7 +356,7 @@ namespace FFXIVClassic_Map_Server
} }
ZoneEntrance ze = zoneEntranceList[zoneEntrance]; ZoneEntrance ze = zoneEntranceList[zoneEntrance];
DoZoneChange(player, destinationZoneId, ze.privateAreaName, ze.spawnType, ze.spawnX, ze.spawnY, ze.spawnZ, ze.spawnRotation); DoZoneChange(player, ze.zoneId, ze.privateAreaName, ze.spawnType, ze.spawnX, ze.spawnY, ze.spawnZ, ze.spawnRotation);
} }
//Moves actor to new zone, and sends packets to spawn at the given coords. //Moves actor to new zone, and sends packets to spawn at the given coords.