Browse Source

Fixing uninitialized tooltip variable

Josh Engebretson 9 years ago
parent
commit
ebb8b92c33
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/Atomic/UI/UI.cpp

+ 2 - 1
Source/Atomic/UI/UI.cpp

@@ -120,7 +120,8 @@ UI::UI(Context* context) :
     skinLoaded_(false),
     consoleVisible_(false),
     exitRequested_(false),
-    changedEventsBlocked_(0)
+    changedEventsBlocked_(0),
+    tooltipHoverTime_ (0.0f)
 {
 
     SubscribeToEvent(E_EXITREQUESTED, ATOMIC_HANDLER(UI, HandleExitRequested));