Player status is now initialized for all games. (And yes, I tested

that initBoard didn't generate some exceptions now that the player
status initialization occurs after board summary initialization.  This
occurs in sword fighting and old drinking, for the record.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3546 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ted V
2005-05-12 00:51:11 +00:00
parent 77a9438c69
commit 64de3f4368
2 changed files with 3 additions and 3 deletions
@@ -671,6 +671,9 @@ public class GameManager extends PlaceManager
*/
protected void gameWillStart ()
{
// initialize the player status
_gameobj.setPlayerStatus(new int[getPlayerSlots()]);
// increment the round identifier
_gameobj.setRoundId(_gameobj.roundId + 1);
@@ -239,9 +239,6 @@ public abstract class PuzzleManager extends GameManager
// initialize the seed that goes out with this round
_puzobj.setSeed(RandomUtil.rand.nextLong());
// initialize the player status
_puzobj.setPlayerStatus(new int[size]);
// initialize the player boards
initBoards();