From 8065cdb89dea85d1c755c707c4b5e5d105f18849 Mon Sep 17 00:00:00 2001 From: Uleat Date: Sun, 4 Aug 2019 22:54:22 -0400 Subject: [PATCH] Give Erudites their head coverings back (forced until we can sort out the packet building process...) --- zone/mob.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zone/mob.cpp b/zone/mob.cpp index ca844d459..3a307bf3f 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -1128,7 +1128,10 @@ void Mob::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) UpdateActiveLight(); ns->spawn.light = m_Light.Type[EQEmu::lightsource::LightActive]; - ns->spawn.showhelm = (helmtexture && helmtexture != 0xFF) ? 1 : 0; + if (IsNPC() && race == ERUDITE) + ns->spawn.showhelm = 1; + else + ns->spawn.showhelm = (helmtexture && helmtexture != 0xFF) ? 1 : 0; ns->spawn.invis = (invisible || hidden) ? 1 : 0; // TODO: load this before spawning players ns->spawn.NPC = IsClient() ? 0 : 1;