mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'master' into 'master'
Remove unnecessary == true See merge request veloren/veloren!29 Former-commit-id: 89739c0788f389e8d9c7f4a8c2df2e177d274633
This commit is contained in:
commit
42686f5758
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user