mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
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:
parent
7f65080c45
commit
cefff6506f
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user