You've changed the code, now it doesn't accumulate the HaveFloor flag, it only uses the last one instead.