From: Deluge <ant...@us...> - 2013-05-07 00:28:32
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/creature In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12694/src/games/stendhal/server/entity/creature Modified Files: Creature.java Log Message: Fixed checking for null string in setSounds method. Index: Creature.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/creature/Creature.java,v retrieving revision 1.253 retrieving revision 1.254 diff -C2 -d -r1.253 -r1.254 *** Creature.java 7 May 2013 00:21:28 -0000 1.253 --- Creature.java 7 May 2013 00:28:29 -0000 1.254 *************** *** 371,375 **** this.sounds = new ArrayList<String>(sounds); // FIXME: movementSound loops currently not working so adding movement sounds to regular sound list ! if (!movementSound.equals(null)) { this.sounds.add(movementSound); } --- 371,375 ---- this.sounds = new ArrayList<String>(sounds); // FIXME: movementSound loops currently not working so adding movement sounds to regular sound list ! if (movementSound != null) { this.sounds.add(movementSound); } |