diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/message.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/message.h b/common/message.h index 1d78889..0051e03 100644 --- a/common/message.h +++ b/common/message.h @@ -175,8 +175,8 @@ namespace Message { }; RoundState() : Base(Types::RoundState) {} - RoundState(const Player& pl_d, const Player& pl_r, const Player& pl_u, const Player& pl_l, const Tiles& d, const Actions& a) - : Base(Types::RoundState), dora(d), possible_actions(a) { + RoundState(const Player& pl_d, const Player& pl_r, const Player& pl_u, const Player& pl_l, const Tiles& d, const Actions& a, int p) + : Base(Types::RoundState), dora(d), possible_actions(a), current_player(p) { players[0] = pl_d; players[1] = pl_r; players[2] = pl_u; @@ -200,6 +200,7 @@ namespace Message { ar & players; ar & dora; ar & possible_actions; + ar & current_player; } }; |