删除 掉落
This commit is contained in:
parent
16869af058
commit
ee253d5b69
@ -265,7 +265,7 @@ void Hero::DecHP(float dec_hp, int killer_id, const std::string& killer_name, in
|
||||
void Hero::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
|
||||
{
|
||||
dead = true;
|
||||
if (meta->HasDrop()) {
|
||||
if (meta->HasDrop() && !room->IsPveRoom()) {
|
||||
room->ScatterDrop(GetPos(), meta->RandDrop());
|
||||
}
|
||||
room->frame_event.AddDead(GetWeakPtrRef(), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user