[Bug Fix] Fix issue where NPC's are being hidden as traders (#4539)

* [Fix] Fix issue where NPC's are being hidden as traders

* Fix

* Update mob.cpp
This commit is contained in:
Chris Miles authored and GitHub committed 2024-11-14 19:15:03 -05:00
1 parent e4aa6a6957
commit 33f5c4c6a7
2 files changed
+1 -2

No files matched your search

+1
View File
@@ -2156,6 +2156,7 @@ void NPC::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho)
UpdateActiveLight();
ns->spawn.light = GetActiveLightType();
ns->spawn.show_name = NPCTypedata->show_name;
ns->spawn.trader = false;
}
void NPC::PetOnSpawn(NewSpawn_Struct* ns)