From: Kimmo R. <ki...@us...> - 2009-12-29 22:31:08
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/semos/tavern/market In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20467/src/games/stendhal/server/maps/semos/tavern/market Modified Files: TradingUtility.java Log Message: made FEE_BONUS_CONSTANT double to fix an unwanted integer division Index: TradingUtility.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/semos/tavern/market/TradingUtility.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** TradingUtility.java 8 Dec 2009 21:42:54 -0000 1.8 --- TradingUtility.java 29 Dec 2009 22:30:57 -0000 1.9 *************** *** 14,18 **** public class TradingUtility { ! private static final int FEE_BONUS_CONSTANT = 10; private static final double TRADING_FEE_PERCENTAGE = 0.01; /** Ratio by which player killers should pay more */ --- 14,18 ---- public class TradingUtility { ! private static final double FEE_BONUS_CONSTANT = 10; private static final double TRADING_FEE_PERCENTAGE = 0.01; /** Ratio by which player killers should pay more */ |