From: Kimmo R. <ki...@us...> - 2013-04-06 22:44:35
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/client/gui/j2d/entity In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv8721/src/games/stendhal/client/gui/j2d/entity Modified Files: EntityViewFactory.java Log Message: Made wedding ring the special case with UseableRing2DView, and use Ring2DView for other rings. Fixes [3610185] "Useless item in medicinal ring menu" Index: EntityViewFactory.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/client/gui/j2d/entity/EntityViewFactory.java,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** EntityViewFactory.java 6 Apr 2013 22:11:39 -0000 1.40 --- EntityViewFactory.java 6 Apr 2013 22:44:30 -0000 1.41 *************** *** 192,197 **** register("portal", null, null, Portal2DView.class); - register("item", "ring", "emerald-ring", Ring2DView.class); - register("sheep", null, null, Sheep2DView.class); register("food", null, null, SheepFood2DView.class); --- 192,195 ---- *************** *** 227,231 **** register("item", "tool", "scrolleraser", UseableItem2DView.class); ! register("item", "ring", null, UseableRing2DView.class); register("useable_entity", null, null, UseableEntity2DView.class); --- 225,230 ---- register("item", "tool", "scrolleraser", UseableItem2DView.class); ! register("item", "ring", null, Ring2DView.class); ! register("item", "ring", "wedding", UseableRing2DView.class); register("useable_entity", null, null, UseableEntity2DView.class); |