diff options
author | Stijn Buys <ingar@osirion.org> | 2012-12-30 23:17:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-12-30 23:17:44 +0000 |
commit | 140ea71836bca67705a8643c11b5ce9efdabcc07 (patch) | |
tree | 84cb9873df7a0c1d6e275abdf7faaa0b4f3e9f98 /src/core | |
parent | 5773da9e78a61daf5bd2a3ee0504683e56af72f5 (diff) |
Added support for weapons mouse aiming.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/entity.cc | 2 |
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 |