Added a way to reset a zone and reload the NPC list.

This commit is contained in:
Filip Maj committed 2016-01-24 03:10:17 -05:00
1 parent f1025f89d3
commit e043be5ca4
3 files changed
+122 -12

No files matched your search

@@ -268,5 +268,18 @@ namespace FFXIVClassic_Map_Server.Actors
return (Player)mActorList[id];
}
public void clear()
{
//Clear All
mActorList.Clear();
for (int y = 0; y < numYBlocks; y++)
{
for (int x = 0; x < numXBlocks; x++)
{
mActorBlock[x, y].Clear();
}
}
}
}
}