1
This commit is contained in:
parent
818ad5e88d
commit
67ef21a34e
@ -154,12 +154,8 @@ void Car::GetOn(Human* passenger)
|
||||
passengers_.insert(passenger);
|
||||
if (!driver_) {
|
||||
driver_ = passenger;
|
||||
#if 1
|
||||
driver_->SetAttackDir(GetAttackDir());
|
||||
#else
|
||||
driver_->SetAttackDir(a8::Vec2::RIGHT);
|
||||
driver_->SetAttackDir(GlmHelper::RIGHT);
|
||||
SetAttackDir(driver_->GetAttackDir());
|
||||
#endif
|
||||
room->TakeOnCarObject(GetUniId());
|
||||
}
|
||||
passenger->SetCar(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user