diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llface.cpp b/linden/indra/newview/llface.cpp index 342c76e..782048c 100644 --- a/linden/indra/newview/llface.cpp +++ b/linden/indra/newview/llface.cpp | |||
@@ -1398,7 +1398,7 @@ void LLFace::enableLights() const | |||
1398 | } | 1398 | } |
1399 | if (isState(LIGHT)) | 1399 | if (isState(LIGHT)) |
1400 | { | 1400 | { |
1401 | const LLVOVolume* vovolume = (const LLVOVolume*)(mDrawablep->getVObj()); | 1401 | const LLVOVolume* vovolume = (const LLVOVolume*)mDrawablep->getVObj(); |
1402 | gPipeline.setAmbient(vovolume->getLightColor()); | 1402 | gPipeline.setAmbient(vovolume->getLightColor()); |
1403 | } | 1403 | } |
1404 | } | 1404 | } |