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:
parent
b68d13ea7f
commit
1f5788def8
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue