From a2bba95003d8d1a229c6955aaeff6a8b19e1a127 Mon Sep 17 00:00:00 2001 From: lindaandersson Date: Thu, 20 Feb 2014 11:12:08 +0100 Subject: [PATCH] GameClient sending rotation to server --- Code/Game/GameProtocols/PlayerProtocols.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Code/Game/GameProtocols/PlayerProtocols.h b/Code/Game/GameProtocols/PlayerProtocols.h index 57137fb4..350c2cf6 100644 --- a/Code/Game/GameProtocols/PlayerProtocols.h +++ b/Code/Game/GameProtocols/PlayerProtocols.h @@ -97,6 +97,8 @@ namespace GameLogic { this->protocol[0].value = protocol_Gameplay_PlayerLeftTurn; this->protocol[0].type = ::Oyster::Network::NetAttributeType_Short; + // deltaRadian + this->protocol[1].type = ::Oyster::Network::NetAttributeType_Float; this->deltaRadian = deltaRadian; }