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?
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?