Offset NPC IDs by 1 to avoid ID 0

This commit is contained in:
gsemaj 2021-05-01 20:42:34 -04:00 committed by Gent Semaj
parent c415db3fd3
commit 0c05fc4add
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#include "NPCManager.hpp"
// 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_GROUP_ID_OFFSET = 20000;