From: Daniel H. <wik...@us...> - 2006-05-29 01:49:58
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6336/src/games/stendhal/server/entity Modified Files: PlantGrower.java Log Message: removed debug output Index: PlantGrower.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/PlantGrower.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** PlantGrower.java 29 May 2006 01:25:17 -0000 1.5 --- PlantGrower.java 29 May 2006 01:49:53 -0000 1.6 *************** *** 85,98 **** public void regrow() { - System.out.println("regrow"); - System.out.println(canGrowNewFruit()); - if (canGrowNewFruit()) { ripeness += 1.0f / turnsForRegrow; - - // TODO: add some randomization if (ripeness > 1.0f) { - System.out.println("GROW!!!!!!!"); ripeness = 0.0f; growNewFruit(); --- 85,92 ---- |