diff controllerbase.py @ 189:4381be70e1bb tip

Fixed incompatibility with latest changes to bgrease.
author Beliar <KarstenBock@gmx.net>
date Sun, 08 Apr 2012 20:30:43 +0200
parents 2a12e2843984
children
line wrap: on
line diff
--- a/controllerbase.py	Tue Mar 27 13:41:20 2012 +0200
+++ b/controllerbase.py	Sun Apr 08 20:30:43 2012 +0200
@@ -42,8 +42,7 @@
         KeyListener.__init__(self, application.event_listener)        
         MouseListener.__init__(self, application.event_listener)
         CommandListener.__init__(self, application.event_listener)
-        Mode.__init__(self)
-        self.engine = engine
+        Mode.__init__(self, engine)
         self.event_manager = engine.getEventManager()
         self.view = view
         self.model = model