Enable RtSim airships.

This commit is contained in:
Avi Weinstock 2021-03-19 11:24:09 -04:00 committed by Marcel Märtens
parent 6629f0e573
commit e2a74c5e5c

View File

@ -34,9 +34,7 @@ impl Entity {
pub fn get_body(&self) -> comp::Body {
match self.rng(PERM_GENUS).gen::<f32>() {
// we want 5% airships, 45% birds, 50% humans
// TODO: uncomment this to re-enable RtSim airships once physics is interpolated well
// in multiplayer.
//x if x < 0.05 => comp::Body::Ship(comp::ship::Body::DefaultAirship),
x if x < 0.05 => comp::Body::Ship(comp::ship::Body::DefaultAirship),
x if x < 0.50 => {
let species = *(&comp::bird_medium::ALL_SPECIES)
.choose(&mut self.rng(PERM_SPECIES))