mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Offset NPC IDs by 1 to avoid ID 0
This commit is contained in:
parent
c415db3fd3
commit
0c05fc4add
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user