1
This commit is contained in:
parent
39fd917c8f
commit
a953ede096
@ -916,6 +916,9 @@ void HeroAgent::Abort(behaviac::string msg, behaviac::vector<int> args)
|
|||||||
|
|
||||||
bool HeroAgent::HasUseableSkill()
|
bool HeroAgent::HasUseableSkill()
|
||||||
{
|
{
|
||||||
|
if (owner_->GetCar()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return owner_->HasUseableSkill();
|
return owner_->HasUseableSkill();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user