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