mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-16 18:10:05 +00:00
Offset NPC IDs by 1 to avoid ID 0
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#include "NPCManager.hpp"
|
#include "NPCManager.hpp"
|
||||||
|
|
||||||
// these are added to the NPC's static key to avoid collisions
|
// these are added to the NPC's static key to avoid collisions
|
||||||
const int NPC_ID_OFFSET = 0;
|
const int NPC_ID_OFFSET = 1;
|
||||||
const int MOB_ID_OFFSET = 10000;
|
const int MOB_ID_OFFSET = 10000;
|
||||||
const int MOB_GROUP_ID_OFFSET = 20000;
|
const int MOB_GROUP_ID_OFFSET = 20000;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user