Fixed LightManager crash
Former-commit-id: c9be4c0ee3343818c8b50b6fef29f64c198795e0
This commit is contained in:
@@ -145,7 +145,7 @@ unsigned int NzLightManager::GetLightCount() const
|
|||||||
|
|
||||||
const NzLight* NzLightManager::GetResult(unsigned int i) const
|
const NzLight* NzLightManager::GetResult(unsigned int i) const
|
||||||
{
|
{
|
||||||
return m_results[i].light;
|
return m_results[m_results.size()-i-1].light;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NzLightManager::IsEmpty() const
|
bool NzLightManager::IsEmpty() const
|
||||||
|
|||||||
Reference in New Issue
Block a user