diff LightmapBuilder.cpp @ 29:e62134245ab0

On BLV loading.
author Nomad
date Thu, 18 Oct 2012 03:18:04 +0200
parents 540178ef9b18
children bcc051713d20
line wrap: on
line diff
--- a/LightmapBuilder.cpp	Tue Oct 16 19:31:34 2012 +0200
+++ b/LightmapBuilder.cpp	Thu Oct 18 03:18:04 2012 +0200
@@ -11,10 +11,10 @@
 
 
 
-LightsStack_StationaryLight_ *pStationaryLightsStack;
+LightsStack_StationaryLight_ *pStationaryLightsStack = new LightsStack_StationaryLight_;
 StationaryLight pStationaryLights[400];
 int uNumStationaryLightsApplied; // weak
-LightsStack_MobileLight_ *pMobileLightsStack;
+LightsStack_MobileLight_ *pMobileLightsStack = new LightsStack_MobileLight_;
 MobileLight pMobileLights[400];
 int uNumMobileLightsApplied;