summaryrefslogtreecommitdiffstats
path: root/src/key.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-03-23 22:08:59 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2012-03-23 22:08:59 +0100
commitea046a32eeb90208b374f4e4e6f6ecadf224bdc6 (patch)
tree2bdedf827ea84e1f785e608dd4dac2a8be90cd7c /src/key.cpp
parentf3a6e6c313505897cf80375c69d6503b1306becf (diff)
downloadcolobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.tar.gz
colobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.tar.bz2
colobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.zip
Fixed includes and GCC syntax errors
Diffstat (limited to 'src/key.cpp')
-rw-r--r--src/key.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/key.cpp b/src/key.cpp
index b8515d1..c59dac3 100644
--- a/src/key.cpp
+++ b/src/key.cpp
@@ -24,7 +24,7 @@
#include <d3d.h>
#include "struct.h"
-#include "D3DEngine.h"
+#include "d3dengine.h"
#include "math3d.h"
#include "event.h"
#include "misc.h"
@@ -64,8 +64,6 @@ void GetKeyName(char *name, int key)
CKey::CKey(CInstanceManager* iMan) : CControl(iMan)
{
- CControl::CControl(iMan);
-
m_key[0] = 0;
m_key[1] = 0;
m_bCatch = FALSE;
@@ -75,7 +73,6 @@ CKey::CKey(CInstanceManager* iMan) : CControl(iMan)
CKey::~CKey()
{
- CControl::~CControl();
}