mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
commit
3a052353a7
@ -659,10 +659,10 @@ 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