If the wall is two-sided (red line in Mapster32), then nextwall is the wall id of the wall on the opposite side.