Skip to content
Snippets Groups Projects
Commit 6d7aeb41 authored by D-AIRY's avatar D-AIRY
Browse files

Fixed flashlight auto enables

parent c9407e7d
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,7 @@ CBaseCharacter::CBaseCharacter(CEntityManager * pMgr): ...@@ -117,6 +117,7 @@ CBaseCharacter::CBaseCharacter(CEntityManager * pMgr):
m_flashlight->setColor(float3(1.0f, 0.95f, 0.65f)); m_flashlight->setColor(float3(1.0f, 0.95f, 0.65f));
//m_flashlight->setShadowType(-1); //m_flashlight->setShadowType(-1);
m_flashlight->setShadowType(1); m_flashlight->setShadowType(1);
m_flashlight->setFlags(m_flashlight->getFlags() | LIGHT_INITIALLY_DARK);
m_flashlight->setEnable(false); m_flashlight->setEnable(false);
m_idTaskSpread = SET_INTERVAL(updateSpread, 1.0f / 30.0f); m_idTaskSpread = SET_INTERVAL(updateSpread, 1.0f / 30.0f);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment