mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-12 23:44:34 +02:00
Fixed PrivateAreas not working due to a bad actor id colliding with players.
This commit is contained in:
parent
3ad30460d8
commit
56ba641e2a
5 changed files with 12 additions and 12 deletions
|
@ -58,7 +58,7 @@ namespace Meteor.Map.Actors
|
|||
public NpcSpawnType npcSpawnType;
|
||||
|
||||
public Npc(int actorNumber, ActorClass actorClass, string uniqueId, Area spawnedArea, float posX, float posY, float posZ, float rot, ushort actorState, uint animationId, string customDisplayName)
|
||||
: base((4 << 28 | spawnedArea.actorId << 19 | (uint)actorNumber))
|
||||
: base((4 << 28 | spawnedArea.actorId << 19 | ((uint)actorNumber + 5)))
|
||||
{
|
||||
this.positionX = posX;
|
||||
this.positionY = posY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue