This commit is contained in:
aozhiwei 2019-07-09 13:43:15 +08:00
parent ada570f69c
commit b4a3ed7fe4

View File

@ -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()