|
@@ -3342,7 +3342,7 @@ void ShapeBase::submitLights( LightManager *lm, bool staticLighting )
|
|
image.lightInfo->setType( LightInfo::Point );
|
|
image.lightInfo->setType( LightInfo::Point );
|
|
|
|
|
|
MatrixF imageMat;
|
|
MatrixF imageMat;
|
|
- getRenderImageTransform( i, &imageMat );
|
|
|
|
|
|
+ getRenderMuzzleTransform( i, &imageMat );
|
|
|
|
|
|
image.lightInfo->setTransform( imageMat );
|
|
image.lightInfo->setTransform( imageMat );
|
|
|
|
|