[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
2024-11-14 18:15:03 -06:00
committed by GitHub
parent e4aa6a6957
commit 33f5c4c6a7
2 changed files with 1 additions and 2 deletions
+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)