Ok, here's the fix for versions 0.6.0dr2 and mebbe dr3:
In attack.cpp, after
Code:
entity_list.AddCorpse(new_corpse, this->GetID());
add:
Code:
APPLAYER app;
CreateSpawnPacket(&app, new_corpse);
Corpse* dcorpse = entity_list.GetCorpseByID(GetID());
if(dcorpse->IsPlayerCorpse())
entity_list.QueueClients(this, &app, true);
entity_list.RemoveFromTargets(this);
safe_delete(trade);
this->SetID(0);
I've tested it, it seems to work well.
Thanks again Dakaar and FNW for the direction.
Mag