Fixed const handling in gamemap