summaryrefslogtreecommitdiff
path: root/src/interface/Window.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-05-13 19:54:29 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-05-13 19:54:29 (GMT)
commit41e1d28c56b6e4b9b380022e9220161c57612006 (patch)
treec21a061f94ba1a8282b1ef962ca7d9affe68ccc8 /src/interface/Window.cpp
parent7758fe52cb9ef78b562bc2587b17b6344d8829fe (diff)
downloadpowder-41e1d28c56b6e4b9b380022e9220161c57612006.zip
powder-41e1d28c56b6e4b9b380022e9220161c57612006.tar.gz
Correct air include path for OptionsModel, correct Window debugmode logic, justifications for sign
Diffstat (limited to 'src/interface/Window.cpp')
-rw-r--r--src/interface/Window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/Window.cpp b/src/interface/Window.cpp
index 86221ab..8dba69a 100644
--- a/src/interface/Window.cpp
+++ b/src/interface/Window.cpp
@@ -1,3 +1,4 @@
+#include <iostream>
#include "Window.h"
#include "Component.h"
#include "interface/Point.h"
@@ -209,7 +210,7 @@ void Window::DoTick(float dt)
void Window::DoKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt)
{
#ifdef DEBUG
- if(character = 'd' && ctrl && shift)
+ if(key == KEY_TAB && ctrl)
debugMode = !debugMode;
if(debugMode)
{