Oups, I forgot to drop the light

This commit is contained in:
samuncle 2017-01-22 20:32:25 -05:00
parent 979f61b8c1
commit 996cea5a14
2 changed files with 2 additions and 1 deletions

View File

@ -162,6 +162,7 @@ KartGFX::~KartGFX()
m_nitro_light->drop();
m_skidding_light_1->drop();
m_skidding_light_2->drop();
m_head_light->drop();
}
#endif

View File

@ -126,6 +126,7 @@ Track::Track(const std::string &filename)
m_is_cutscene = false;
m_camera_far = 1000.0f;
m_bloom = true;
m_is_day = true;
m_bloom_threshold = 0.75f;
m_color_inlevel = core::vector3df(0.0,1.0, 255.0);
m_color_outlevel = core::vector2df(0.0, 255.0);
@ -481,7 +482,6 @@ void Track::loadTrackInfo()
m_gravity = 9.80665f;
m_smooth_normals = false;
m_godrays = false;
m_is_day = true;
m_godrays_opacity = 1.0f;
m_godrays_color = video::SColor(255, 255, 255, 255);
/* ARGB */