mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 17:53:35 +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:
1 parent
7f65080c45
commit
cefff6506f
1 file changed
+1
-5
+1
-5
@@ -1271,11 +1271,7 @@ void Corpse::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) {
|
||||
Mob::FillSpawnStruct(ns, ForWho);
|
||||
|
||||
ns->spawn.max_hp = 120;
|
||||
|
||||
if (IsPlayerCorpse())
|
||||
ns->spawn.NPC = 3;
|
||||
else
|
||||
ns->spawn.NPC = 2;
|
||||
ns->spawn.NPC = 2;
|
||||
|
||||
UpdateActiveLightValue();
|
||||
ns->spawn.light = active_light;
|
||||
|
||||
Reference in new issue
Block a user