Update occlusion.cpp

Fix for array index error
Merge pull request #1 from luensel/patch-1

Update occlusion.cpp