Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-21 19:25:11 +0000
committerStijn Buys <ingar@osirion.org>2008-03-21 19:25:11 +0000
commit2314c27dd650dc02c0b5bdd3bef75818393a9ab5 (patch)
tree231815c866a1330338d976480284250e99207554 /src/core/entity.cc
parent7e99fac4552b402034e5fc3e833cbe8c274f95ce (diff)
switched to UDP networking
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;
}