summaryrefslogtreecommitdiffstats
path: root/src/image.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/image.cpp
parentf3a6e6c313505897cf80375c69d6503b1306becf (diff)
downloadcolobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.tar.gz
colobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.tar.bz2
colobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.zip
Fixed includes and GCC syntax errors
Diffstat (limited to 'src/image.cpp')
-rw-r--r--src/image.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/image.cpp b/src/image.cpp
index 33b2a34..974216a 100644
--- a/src/image.cpp
+++ b/src/image.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"
@@ -39,8 +39,6 @@
CImage::CImage(CInstanceManager* iMan) : CControl(iMan)
{
- CControl::CControl(iMan);
-
m_filename[0] = 0;
}
@@ -52,8 +50,6 @@ CImage::~CImage()
{
m_engine->FreeTexture(m_filename);
}
-
- CControl::~CControl();
}