Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r--src/core/entity.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index d64ae61..fd28a1c 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -316,7 +316,7 @@ void EntityControlable::set_thrust(float thrust)
if ((flags() & Static) == Static)
return;
- if (!(thrust == target_thrust)) {
+ if (thrust != target_thrust) {
target_thrust = thrust;
entity_dirty = true;
}
@@ -327,7 +327,7 @@ void EntityControlable::set_direction(float direction)
if ((flags() & Static) == Static)
return;
- if (!(target_direction == direction)) {
+ if (target_direction != direction) {
target_direction = direction;
entity_dirty = true;
}