summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Daniel Evensen <ole_daniel_evensen@hotmail.com>2010-11-24 16:52:43 +0100
committerOle Daniel Evensen <ole_daniel_evensen@hotmail.com>2010-11-24 16:52:43 +0100
commit6a618d45345026f9ddf81f241be43c0cfd95e94a (patch)
treea9fb08570c304e06b5b00454b651f87026d50d60
parentaa3525bc668ac23a3cc82cefa78b96a766f72a53 (diff)
Fixed play continues to the right on pon/kan.
-rw-r--r--server/standard.cpp16
1 files 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;