[Orxonox-commit 1740] r6458 - code/branches/network2/src/orxonox/worldentities/pawns
scheusso at orxonox.net
scheusso at orxonox.net
Sat Jan 23 16:39:40 CET 2010
Author: scheusso
Date: 2010-01-23 16:39:40 +0100 (Sat, 23 Jan 2010)
New Revision: 6458
Modified:
code/branches/network2/src/orxonox/worldentities/pawns/Pawn.cc
Log:
changed Pawn::aimPosition_ synchronisation to Client->Server only
Modified: code/branches/network2/src/orxonox/worldentities/pawns/Pawn.cc
===================================================================
--- code/branches/network2/src/orxonox/worldentities/pawns/Pawn.cc 2010-01-23 15:38:41 UTC (rev 6457)
+++ code/branches/network2/src/orxonox/worldentities/pawns/Pawn.cc 2010-01-23 15:39:40 UTC (rev 6458)
@@ -119,7 +119,7 @@
registerVariable(this->health_, VariableDirection::ToClient);
registerVariable(this->initialHealth_, VariableDirection::ToClient);
registerVariable(this->bReload_, VariableDirection::ToServer);
- registerVariable(this->aimPosition_, Bidirectionality::ServerMaster, 0, true);
+ registerVariable(this->aimPosition_, VariableDirection::ToServer); // For the moment this variable gets only transfered to the server
}
void Pawn::tick(float dt)
More information about the Orxonox-commit
mailing list