mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-03 17:19:46 +02: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