From 140ea71836bca67705a8643c11b5ce9efdabcc07 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 30 Dec 2012 23:17:44 +0000 Subject: Added support for weapons mouse aiming. --- src/core/entity.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') 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 -- cgit v1.2.3