mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-12 16:22:27 +00:00
Give Erudites their head coverings back (forced until we can sort out the packet building process...)
This commit is contained in:
parent
20530ed3cf
commit
8065cdb89d
@ -1128,7 +1128,10 @@ void Mob::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho)
|
|||||||
UpdateActiveLight();
|
UpdateActiveLight();
|
||||||
ns->spawn.light = m_Light.Type[EQEmu::lightsource::LightActive];
|
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.invis = (invisible || hidden) ? 1 : 0; // TODO: load this before spawning players
|
||||||
ns->spawn.NPC = IsClient() ? 0 : 1;
|
ns->spawn.NPC = IsClient() ? 0 : 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user