Remove unnecessary == true

Former-commit-id: bb9df3870e2549b8e66b0cc8d2ece29e336f22e9
This commit is contained in:
timokoesters 2019-04-15 19:39:01 +02:00
parent a41b642570
commit 7ca6be2d5b

View File

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