Merge branch 'master' into 'master'

Remove unnecessary == true

See merge request veloren/veloren!29

Former-commit-id: 89739c0788f389e8d9c7f4a8c2df2e177d274633
This commit is contained in:
Joshua Barretto 2019-04-15 17:52:11 +00:00
commit 42686f5758

View File

@ -152,7 +152,7 @@ impl Client {
if if
self.state.read_storage::<comp::phys::Pos>().get(self.player).is_some() && self.state.read_storage::<comp::phys::Pos>().get(self.player).is_some() &&
self.state.read_storage::<comp::phys::Vel>().get(self.player).is_some() && self.state.read_storage::<comp::phys::Vel>().get(self.player).is_some() &&
self.state.read_storage::<comp::phys::Dir>().get(self.player).is_some() == true self.state.read_storage::<comp::phys::Dir>().get(self.player).is_some()
{ {
// TODO: remove this // TODO: remove this
const PLAYER_VELOCITY: f32 = 100.0; const PLAYER_VELOCITY: f32 = 100.0;