mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-18 13:40:04 +00:00
load warps into memory in NPCManager::init
This commit is contained in:
@@ -7,8 +7,13 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
struct WarpLocation {
|
||||
int x, y, z;
|
||||
};
|
||||
|
||||
namespace NPCManager {
|
||||
extern std::map<int32_t, BaseNPC> NPCs;
|
||||
extern std::map<int32_t, WarpLocation> Warps;
|
||||
void init();
|
||||
|
||||
void updatePlayerNPCS(CNSocket* sock, PlayerView& plr);
|
||||
|
||||
Reference in New Issue
Block a user