mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
commit
3a052353a7
@ -659,10 +659,10 @@ bool VehicleObject::takeDamage(const GameObject::DamageInfo& dmg) {
|
||||
}
|
||||
/// @todo determine when doors etc. should un-latch
|
||||
}
|
||||
|
||||
health -= dmg.hitpoints;
|
||||
}
|
||||
|
||||
health -= dmg.hitpoints;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user