1
This commit is contained in:
parent
ada570f69c
commit
b4a3ed7fe4
@ -843,16 +843,6 @@ bool Human::CanSee(const Human* hum) const
|
|||||||
void Human::RecalcAttr()
|
void Human::RecalcAttr()
|
||||||
{
|
{
|
||||||
def = meta->i->def();
|
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()
|
void Human::RecalcVolume()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user