From d0c5819fb141f5cb174f47616d7c5ea4116e871c Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 27 Nov 2010 04:22:53 +0100 Subject: Changed format of RoundState again. --- server/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/client.cpp') diff --git a/server/client.cpp b/server/client.cpp index 465da3b..3977b53 100644 --- a/server/client.cpp +++ b/server/client.cpp @@ -84,8 +84,8 @@ void Client::round_start() { connection->send(make_shared()); } -void Client::round_state(State state) { - connection->send(make_shared(state)); +void Client::round_state(const PlayerState& pl_d, const PlayerState& pl_r, const PlayerState& pl_u, const PlayerState& pl_l, const Tiles& d, const Actions& a) { + connection->send(make_shared(pl_d, pl_r, pl_u, pl_l, d, a)); } void Client::round_end() { -- cgit v1.2.3