mirror of
https://github.com/rwengine/openrw.git
synced 2025-04-28 21:08:05 +03:00
commit
3a052353a7
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue