Fix getNearestNPC w/ uses

This commit is contained in:
Gent S
2020-11-22 19:14:46 -05:00
parent dab536cb6a
commit e0858a42b2
3 changed files with 19 additions and 13 deletions

View File

@@ -68,7 +68,7 @@ namespace NPCManager {
void handleWarp(CNSocket* sock, int32_t warpId);
BaseNPC* getNearestNPC(std::vector<Chunk*> chunks, int X, int Y, int Z);
BaseNPC* getNearestNPC(std::set<Chunk*>* chunks, int X, int Y, int Z);
/// returns -1 on fail
int eggBuffPlayer(CNSocket* sock, int skillId, int duration);