mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
This commit is contained in:
@ -463,7 +463,7 @@ void plRTProjDirLight::SetFallsize( TimeValue time, float f )
|
||||
RefResult plRTProjDirLight::EvalLightState( TimeValue t, Interval& valid, LightState *ls )
|
||||
{
|
||||
ls->type = DIRECT_LGT;
|
||||
if( fLightPB->GetInt( kLightOn, t ) == true )
|
||||
if( fLightPB->GetInt( kLightOn, t ) )
|
||||
ls->color = GetRGBColor( t, valid );
|
||||
else
|
||||
ls->color = Color( 0, 0, 0 );
|
||||
|
@ -1430,7 +1430,7 @@ RefResult plRTLightBase::EvalLightState(TimeValue t, Interval& valid, LightState
|
||||
{
|
||||
//t uselight;
|
||||
//#if 0 //fLightPB->GetInt(kLightOn, t);
|
||||
if(fLightPB->GetInt(kLightOn, t) == true)
|
||||
if(fLightPB->GetInt(kLightOn, t) )
|
||||
ls->color = GetRGBColor(t,valid);
|
||||
else
|
||||
ls->color = Color(0,0,0);
|
||||
|
Reference in New Issue
Block a user