summaryrefslogtreecommitdiffstats
path: root/src/light.h
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/light.h
parentf3a6e6c313505897cf80375c69d6503b1306becf (diff)
downloadcolobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.tar.gz
colobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.tar.bz2
colobot-ea046a32eeb90208b374f4e4e6f6ecadf224bdc6.zip
Fixed includes and GCC syntax errors
Diffstat (limited to 'src/light.h')
-rw-r--r--src/light.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/light.h b/src/light.h
index 802dc24..ae2bcfb 100644
--- a/src/light.h
+++ b/src/light.h
@@ -20,6 +20,8 @@
#define _LIGHT_H_
+#include "d3dengine.h"
+
class CInstanceManager;
class CD3DEngine;
@@ -62,7 +64,7 @@ class CLight
{
public:
CLight(CInstanceManager *iMan, CD3DEngine* engine);
- ~CLight();
+ virtual ~CLight();
void SetD3DDevice(LPDIRECT3DDEVICE7 device);