sp/src/game/shared/of2/of2_gamerules.cpp
//-----------------------------------------------------------------------------
// This takes the long way around to see if a prop should emit a DLIGHT when it
// ignites, to avoid having Alyx-related code in props.cpp.
//-----------------------------------------------------------------------------
This takes the long way around to see if a prop should emit a DLIGHT when it
ignites, to avoid having Alyx-related code in props.cpp.
This takes the long way around to see if a prop should emit a DLIGHT when it ignites to avoid having Alyx - related code in props . cpp .
bool COpposingForce2::ShouldBurningPropsEmitLight()
{
#ifdef HL2_EPISODIC
	return IsAlyxInDarknessMode();
#else
	return false;
#endif 
}
bool COpposingForce2 :: ShouldBurningPropsEmitLight ( ) { #ifdef HL2_EPISODIC return IsAlyxInDarknessMode ( ) ; #else return false ; #endif }
This takes the long way around to see if a prop should emit a DLIGHT when it
ignites, to avoid having Alyx-related code in props.cpp.
This takes the long way around to see if a prop should emit a DLIGHT when it ignites to avoid having Alyx - related code in props . cpp .
// HL2_EPISODIC