Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-12-30 23:17:44 +0000
committerStijn Buys <ingar@osirion.org>2012-12-30 23:17:44 +0000
commit140ea71836bca67705a8643c11b5ce9efdabcc07 (patch)
tree84cb9873df7a0c1d6e275abdf7faaa0b4f3e9f98 /src/core
parent5773da9e78a61daf5bd2a3ee0504683e56af72f5 (diff)
Added support for weapons mouse aiming.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/entity.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 4a603f1..589d132 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -1177,6 +1177,7 @@ void EntityControlable::serialize_client_update(std::ostream & os) const
os << target_vstrafe << " ";
os << target_afterburner << " ";
os << target_controlflags << " ";
+ os << target_aim << " ";
}
void EntityControlable::receive_client_update(std::istream &is)
@@ -1190,6 +1191,7 @@ void EntityControlable::receive_client_update(std::istream &is)
is >> target_vstrafe;
is >> target_afterburner;
is >> target_controlflags;
+ is >> target_aim;
}
void EntityControlable::serialize_server_update(std::ostream & os) const