From: MadMetzger <mad...@us...> - 2010-06-24 19:52:07
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/fado/city In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv29019/src/games/stendhal/server/maps/fado/city Modified Files: NunNPC.java Log Message: set default direction Index: NunNPC.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/maps/fado/city/NunNPC.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** NunNPC.java 12 Jul 2008 14:43:53 -0000 1.15 --- NunNPC.java 24 Jun 2010 19:51:59 -0000 1.16 *************** *** 5,8 **** --- 5,9 ---- import games.stendhal.server.core.engine.StendhalRPZone; import games.stendhal.server.entity.npc.SpeakerNPC; + import games.stendhal.server.entity.player.Player; import java.util.Map; *************** *** 47,50 **** --- 48,60 ---- addGoodbye("Goodbye, may peace be with you."); } + + /* (non-Javadoc) + * @see games.stendhal.server.entity.npc.SpeakerNPC#onGoodbye(games.stendhal.server.entity.player.Player) + */ + @Override + protected void onGoodbye(Player player) { + setDirection(Direction.RIGHT); + } + }; |