From fa7b6e61456102f9f96d3f8bd4ad843638b5b195 Mon Sep 17 00:00:00 2001 From: Gent S Date: Thu, 26 Nov 2020 09:05:44 -0500 Subject: [PATCH] Properly set default NPC class --- src/NPC.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NPC.hpp b/src/NPC.hpp index c5c7b67..189fedd 100644 --- a/src/NPC.hpp +++ b/src/NPC.hpp @@ -25,6 +25,8 @@ public: appearanceData.iBarkerType = 0; appearanceData.iNPC_ID = id; + npcClass = NPCClass::NPC_BASE; + instanceID = iID; chunkPos = std::make_tuple(0, 0, 0);