1
0
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:
2012-11-11 22:34:05 -08:00
parent 6d4726c766
commit 40d5e2e867
16 changed files with 17 additions and 11 deletions

View File

@ -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 );

View File

@ -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);