|
|
|
|
int ** mapl = &world[i][j]; and/or int * pPos = &(*mapl)[x][y];. Everything else worked before I introduced the master array (world).
int map0[] = {...} and int* world[] = {...}. Then change map[i][j] to map[i+j*5]. It should make things easier to understand.