mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 22:53:47 +00:00
Merge pull request #494 from DavidWyand-GG/WeaponLight
Mounted image weapon light fix
This commit is contained in:
commit
1a28722ef2
1 changed files with 1 additions and 1 deletions
|
|
@ -3262,7 +3262,7 @@ void ShapeBase::submitLights( LightManager *lm, bool staticLighting )
|
|||
{
|
||||
S32 elapsed = Sim::getCurrentTime() - image.lightStart;
|
||||
if ( elapsed > imageData->lightDuration )
|
||||
return;
|
||||
continue;
|
||||
intensity = ( 1.0 - (F32)elapsed / (F32)imageData->lightDuration ) * imageData->lightBrightness;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue