Rinum/OpenAnt — Issue #24: Crash when digging underground
Author: waveofbabies
Created: 2011-12-14 22:36:19+00:00
State: open

Pretty straightforward bug. If you try to dig underground, the game crashes and you get an index out of bounds error. I think it comes from the fact that the Map.tiles array has a size of [mapsize, mapsize*2] & the Map.antHills array has a size of [mapsize, mapsize].

I only post this because there should be a discussion of how we want to manage the above ground map & the below ground map. Should they be kept in the same array or be in separate ones?