Shouldn't use +1 to index.

Indexarray is then +1 bigger than bgo-array, and access nonexsisting arrayitem.
With +1 the programm crashes when the level uses the edge item.
Tested with level29.lvl @ invasion 2