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