summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-03-19 22:58:24 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-03-19 22:58:24 -0400
commitfc3afd1d6460b2aa453167498979bbf7a636ef45 (patch)
tree390d5003901ec8b6e951dae2daedb485033c8b6e /src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java
parent0ebc2f2c92e4b51069f497aca9f715198010bdf2 (diff)
downloadfourpuzzle-fc3afd1d6460b2aa453167498979bbf7a636ef45.tar.gz
fourpuzzle-fc3afd1d6460b2aa453167498979bbf7a636ef45.tar.bz2
fourpuzzle-fc3afd1d6460b2aa453167498979bbf7a636ef45.zip
Engine: Fixed many potential bugs
Identified by FindBugs. http://findbugs.sourceforge.net/
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java')
-rwxr-xr-xsrc/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java index e24b79c..9cb67ba 100755 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/EventHandler.java
@@ -59,10 +59,10 @@ public class EventHandler {
59 * Also reset the viewpoint in case the viewpoint was 59 * Also reset the viewpoint in case the viewpoint was
60 * fixed during the thread */ 60 * fixed during the thread */
61 61
62 SpecialEvent.mapView.setViewpoint(new AutomaticViewpoint(SpecialEvent.mapView.getCurrentMap())); 62 new SpecialEvent().ResetViewpoint();
63 } catch (ResourceNotFoundException ex) 63 } catch (ResourceNotFoundException ex)
64 { 64 {
65 PuzzleApplication.INSTANCE.reportError(ex); 65 PuzzleApplication.reportError(ex);
66 } 66 }
67 } 67 }
68 }; 68 };