Update of /cvsroot/rails/18xx/rails/game
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20558/rails/game
Modified Files:
StartRound_1835.java
Log Message:
Fixed big in Clemens variant: first player was wrongly assigned.
Index: StartRound_1835.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/StartRound_1835.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** StartRound_1835.java 17 Feb 2010 22:01:44 -0000 1.25
--- StartRound_1835.java 30 Mar 2010 21:59:03 -0000 1.26
***************
*** 42,45 ****
--- 42,50 ----
startRoundNumber.add(1);
+ if (variant.equalsIgnoreCase(CLEMENS_VARIANT)) {
+ setCurrentPlayerIndex (numPlayers-1);
+ }
+
+
if (!setPossibleActions()) {
/*
***************
*** 180,184 ****
if (variant.equalsIgnoreCase(CLEMENS_VARIANT)) {
! /* Reverse ordee in the first cycle only */
newIndex =
cycleNumber == 0 ? numPlayers - 1 - turnIndex
--- 185,189 ----
if (variant.equalsIgnoreCase(CLEMENS_VARIANT)) {
! /* Reverse order in the first cycle only */
newIndex =
cycleNumber == 0 ? numPlayers - 1 - turnIndex
|