Inline the function GET_BAN_MAP_XY that used to be a macro