Fixed LightManager crash
Former-commit-id: c9be4c0ee3343818c8b50b6fef29f64c198795e0
This commit is contained in:
parent
bed20692a6
commit
ae7c54a9fc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue