This commit is contained in:
aozhiwei 2023-04-02 21:12:43 +08:00
parent 05458b19da
commit 3b5a69bcff

View File

@ -87,7 +87,7 @@ void Movement::CalcTargetPos(float distance)
}
} else {
unsigned short exclude_flags = 0;
if (owner_->GetCar()) {
if (owner_->HasBuffEffect(kBET_Driver)) {
exclude_flags = SAMPLE_POLYFLAGS_DOOR;
}
glm::vec3 hit_point;