From: Hendrik <nh...@us...> - 2007-01-26 19:14:39
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/client/entity In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv21141/src/games/stendhal/client/entity Modified Files: RPEntity.java Log Message: only log heal message for the own player object Index: RPEntity.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/client/entity/RPEntity.java,v retrieving revision 1.90 retrieving revision 1.91 diff -C2 -d -r1.90 -r1.91 *** RPEntity.java 20 Jan 2007 23:18:36 -0000 1.90 --- RPEntity.java 26 Jan 2007 19:14:37 -0000 1.91 *************** *** 275,280 **** "+" + Integer.toString(amount), Color.green)); damageSpritesTimes.add(new Long(System.currentTimeMillis())); ! ! client.addEventLine(getName() + " heals " + Grammar.quantityplnoun(amount, "health point") + ".", Color.green); } } --- 275,281 ---- "+" + Integer.toString(amount), Color.green)); damageSpritesTimes.add(new Long(System.currentTimeMillis())); ! if (getID().equals(client.getPlayer().getID())) { ! client.addEventLine(getName() + " heals " + Grammar.quantityplnoun(amount, "health point") + ".", Color.green); ! } } } |