From: Brett L. <wak...@ea...> - 2006-01-02 23:06:38
|
I've committed a couple more updates to the Token code. I've added size checking logic so that now more tokens can't be added beyond the number of available slots. Also, this is propagated upward to display an error message. ---Brett -----Original Message----- >From: Brett Lentz <wak...@ea...> >Sent: Jan 1, 2006 6:05 PM >To: rails-devel <rai...@li...> >Subject: [Rails-devel] Token bug when upgrading hexes fixed > >Ok... I've committed the fix for what I hope is the last token placement bug. > >Now when tiles are upgraded, the tokens are correctly moved to a new list and reassigned to the hex. > >Many of the problems I was having in this area of the code were due to Java's insistence on passing everything by reference. > > >---Brett. > |