aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-14 23:32:25 +1000
committerDavid Walter Seikel2013-01-14 23:32:25 +1000
commitac0d8256811473e53d61a7075756bcedebb6b712 (patch)
tree9d5cf842a182ab4ec03a53036febe1ed04ad8b09
parentBuild Irrlicht to. (diff)
downloadSledjHamr-ac0d8256811473e53d61a7075756bcedebb6b712.zip
SledjHamr-ac0d8256811473e53d61a7075756bcedebb6b712.tar.gz
SledjHamr-ac0d8256811473e53d61a7075756bcedebb6b712.tar.bz2
SledjHamr-ac0d8256811473e53d61a7075756bcedebb6b712.tar.xz
Make sure it compiles when leaving out Irrlicht.
-rw-r--r--ClientHamr/extantz/crappisspuke.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ClientHamr/extantz/crappisspuke.cpp b/ClientHamr/extantz/crappisspuke.cpp
index 16513fa..dae0586 100644
--- a/ClientHamr/extantz/crappisspuke.cpp
+++ b/ClientHamr/extantz/crappisspuke.cpp
@@ -51,6 +51,7 @@ EAPI int startIrr(GLData *gld)
51 if (!gld->useIrr) 51 if (!gld->useIrr)
52 return 0; 52 return 0;
53 53
54#if USE_IRR
54 void *display = NULL; 55 void *display = NULL;
55 unsigned long sfc = 0; 56 unsigned long sfc = 0;
56 void *ctx = NULL; 57 void *ctx = NULL;
@@ -174,6 +175,7 @@ EAPI int startIrr(GLData *gld)
174 smgr->addCameraSceneNode(0, vector3df(0, 30, -40), vector3df(0, 5, 0)); 175 smgr->addCameraSceneNode(0, vector3df(0, 30, -40), vector3df(0, 5, 0));
175 176
176 then = device->getTimer()->getTime(); 177 then = device->getTimer()->getTime();
178#endif
177 return 1; 179 return 1;
178} 180}
179 181