From: Hendrik B. <nh...@us...> - 2009-10-25 22:40:37
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv22183/src/games/stendhal/server/entity Modified Files: RPEntity.java Log Message: use rpclass name of nameless entities (pets), added type of Entity to tell players and creatures appart (fixes #2885857) Index: RPEntity.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/RPEntity.java,v retrieving revision 1.319 retrieving revision 1.320 diff -C2 -d -r1.319 -r1.320 *** RPEntity.java 25 Oct 2009 11:37:03 -0000 1.319 --- RPEntity.java 25 Oct 2009 22:40:24 -0000 1.320 *************** *** 1136,1140 **** if (killer instanceof RPEntity) { ! new GameEvent(killerName, "killed", getName()).raise(); } killLog.logKill(this, killer); --- 1136,1140 ---- if (killer instanceof RPEntity) { ! new GameEvent(killerName, "killed", killLog.getEntityName(this), killLog.entityToType(killer), killLog.entityToType(this)).raise(); } killLog.logKill(this, killer); |