From 3f851ef4c3355f45a0ec14a03a336ab61b53f175 Mon Sep 17 00:00:00 2001 From: totycro Date: Tue, 3 Apr 2012 00:16:56 +0200 Subject: [PATCH] Fixed a unit test issue --- horizons/gui/mousetools/navigationtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horizons/gui/mousetools/navigationtool.py b/horizons/gui/mousetools/navigationtool.py index 2b32a164387..27aa63418f2 100644 --- a/horizons/gui/mousetools/navigationtool.py +++ b/horizons/gui/mousetools/navigationtool.py @@ -35,7 +35,7 @@ class NavigationTool(CursorTool): """Navigation Class to process mouse actions ingame""" - last_event_pos = None # last received mouse event position, fife.ScreenPoint + last_event_pos = fife.ScreenPoint(0, 0) # last received mouse event position, fife.ScreenPoint send_hover_instances_update = True HOVER_INSTANCES_UPDATE_DELAY = 1 # sec