From 6a618d45345026f9ddf81f241be43c0cfd95e94a Mon Sep 17 00:00:00 2001 From: Ole Daniel Evensen Date: Wed, 24 Nov 2010 16:52:43 +0100 Subject: Fixed play continues to the right on pon/kan. --- server/standard.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/server/standard.cpp b/server/standard.cpp index 78367b5..d74ad17 100644 --- a/server/standard.cpp +++ b/server/standard.cpp @@ -458,12 +458,8 @@ bool Standard::round_action(Action action) { draw_phase = false;//player must discard extra tile - //Player steals round - if(current_player == 0) { - current_player = 3; - } else { - current_player = action.player-1; - } + //Play continues to the right + current_player = action.player; } break; @@ -488,12 +484,8 @@ bool Standard::round_action(Action action) { draw_phase = false;//player must discard extra tile - //Player steals round - if(current_player == 0) { - current_player = 3; - } else { - current_player = action.player-1; - } + //Play continues to the right + current_player = action.player; } break; -- cgit v1.2.3