From 0c05fc4add4c2bf75d6023fa7eb65e5f03d93237 Mon Sep 17 00:00:00 2001 From: gsemaj Date: Sat, 1 May 2021 20:42:34 -0400 Subject: [PATCH] Offset NPC IDs by 1 to avoid ID 0 --- src/TableData.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TableData.hpp b/src/TableData.hpp index 6c62fe7..b3eaa64 100644 --- a/src/TableData.hpp +++ b/src/TableData.hpp @@ -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;