From b4a3ed7fe4687670e1c11deaa32ae20758aa59fc Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 9 Jul 2019 13:43:15 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index feac95f..3210534 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -843,16 +843,6 @@ bool Human::CanSee(const Human* hum) const void Human::RecalcAttr() { def = meta->i->def(); - #if 0 - MetaData::Equip* chest_meta = MetaMgr::Instance()->GetEquip(chest); - if (chest_meta) { - def += chest_meta->i->def(); - } - MetaData::Equip* helmet_meta = MetaMgr::Instance()->GetEquip(helmet); - if (helmet_meta) { - def += helmet_meta->i->def(); - } - #endif } void Human::RecalcVolume()