1
This commit is contained in:
parent
c03312d644
commit
7902c4d582
@ -247,7 +247,10 @@ bool HeroAgent::HasBuffEffect(int effect_id)
|
||||
|
||||
bool HeroAgent::IsNearGas(float range)
|
||||
{
|
||||
abort();
|
||||
float x_distance = std::fabs(owner_->GetPos().ToGlmVec3().x -
|
||||
owner_->room->GetGasData().pos_old.x);
|
||||
float z_distance = std::fabs(owner_->GetPos().ToGlmVec3().z -
|
||||
owner_->room->GetGasData().pos_old.y);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user