|
From: <ev...@us...> - 2010-08-22 15:47:07
|
Revision: 1401
http://rails.svn.sourceforge.net/rails/?rev=1401&view=rev
Author: evos
Date: 2010-08-22 15:47:01 +0000 (Sun, 22 Aug 2010)
Log Message:
-----------
Reset 'operated' flag when making a bankrupted 18EU major restartable.
Modified Paths:
--------------
trunk/18xx/rails/game/PublicCompany.java
Modified: trunk/18xx/rails/game/PublicCompany.java
===================================================================
--- trunk/18xx/rails/game/PublicCompany.java 2010-08-22 15:32:27 UTC (rev 1400)
+++ trunk/18xx/rails/game/PublicCompany.java 2010-08-22 15:47:01 UTC (rev 1401)
@@ -829,16 +829,16 @@
public void setHomeCityNumber(int number) {
this.homeCityNumber = number;
}
-
+
/**
* @return true -> requires an open slot in each city of the hex, false -> one slot on the hex
- *
+ *
*/
public boolean isHomeBlockedForAllCities() {
return homeAllCitiesBlocked;
}
-
+
/**
* @return Returns the destinationHex.
*/
@@ -1035,6 +1035,7 @@
protected void reinitialise () {
hasStarted.set(false);
hasFloated.set(false);
+ hasOperated.set(false);
if (parPrice != null && fixedPrice <= 0) parPrice.setPrice(null);
if (currentPrice != null) currentPrice.setPrice(null);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|