mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-10-01 12:10:06 +00:00
fixed NPC spawning bug
This commit is contained in:
@@ -22,8 +22,7 @@ public:
|
||||
appearanceData.iBarkerType = 0;
|
||||
appearanceData.iNPC_ID = id;
|
||||
|
||||
chunkPos = ChunkManager::grabChunk(x, y);
|
||||
currentChunks = ChunkManager::grabChunks(chunkPos);
|
||||
chunkPos = std::pair<int, int>(0, 0);
|
||||
};
|
||||
BaseNPC(int x, int y, int z, int type, int id, NPCClass classType) : BaseNPC(x, y, z, type, id) {
|
||||
npcClass = classType;
|
||||
|
Reference in New Issue
Block a user