From: <aki...@us...> - 2006-12-17 16:54:47
|
Revision: 1157 http://svn.sourceforge.net/gridarta/?rev=1157&view=rev Author: akirschbaum Date: 2006-12-17 08:54:48 -0800 (Sun, 17 Dec 2006) Log Message: ----------- Remove variable that is only written. Modified Paths: -------------- trunk/crossfire/src/cfeditor/CMapViewBasic.java Modified: trunk/crossfire/src/cfeditor/CMapViewBasic.java =================================================================== --- trunk/crossfire/src/cfeditor/CMapViewBasic.java 2006-12-17 16:39:06 UTC (rev 1156) +++ trunk/crossfire/src/cfeditor/CMapViewBasic.java 2006-12-17 16:54:48 UTC (rev 1157) @@ -106,8 +106,6 @@ private MapCursor mapCursor; - private final Point mapMouseRightPos = new Point(); // coordinates of selected tile on the map - private final boolean[] needMpanelUpdate; // indicates that the mapArchPanel needs private MapGrid mapGrid; @@ -143,8 +141,6 @@ needMpanelUpdate[0] = false; needMpanelUpdate[1] = false; needMpanelUpdate[2] = false; - mapMouseRightPos.x = -1; - mapMouseRightPos.y = -1; if (isPickmap()) { setBackground(IGUIConstants.BG_COLOR); @@ -274,8 +270,6 @@ */ public void setHotspot(final Point point) { // set the highlighted spot: - mapMouseRightPos.x = point.x; - mapMouseRightPos.y = point.y; // set scroll position accordingly to center on target final Rectangle scrollto = new Rectangle((point.x + 1) * 32 + 16 - getViewport().getViewRect().width / 2, @@ -345,7 +339,6 @@ } void setMapAndArchPosition(final GameObject gameObject, final Point pos) { - mapMouseRightPos.setLocation(pos); if (pos.x == -1 || pos.y == -1) { mainControl.getMainView().setMapTileList(null, null); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |