Fix issue with corpse spawn packets

Historically PC corpses used 3; it doesn't appear true with Tit+

Test case target a corpse and /ttell it :P
This commit is contained in:
Michael Cook (mackal) 2015-02-11 13:20:32 -05:00
parent 7f65080c45
commit cefff6506f

View File

@ -1271,10 +1271,6 @@ void Corpse::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) {
Mob::FillSpawnStruct(ns, ForWho); Mob::FillSpawnStruct(ns, ForWho);
ns->spawn.max_hp = 120; ns->spawn.max_hp = 120;
if (IsPlayerCorpse())
ns->spawn.NPC = 3;
else
ns->spawn.NPC = 2; ns->spawn.NPC = 2;
UpdateActiveLightValue(); UpdateActiveLightValue();