src/newgrf.cpp
changeset 6649 4fe2c8ec0ba6
parent 6646 eed9bfa40428
child 6652 ab91aefc7c0f
equal deleted inserted replaced
6648:d0ab85b643a8 6649:4fe2c8ec0ba6
  3197 				break;
  3197 				break;
  3198 			case 4: result = (param_val & mask) < cond_val;
  3198 			case 4: result = (param_val & mask) < cond_val;
  3199 				break;
  3199 				break;
  3200 			case 5: result = (param_val & mask) > cond_val;
  3200 			case 5: result = (param_val & mask) > cond_val;
  3201 				break;
  3201 				break;
       
  3202 			case 11: result = GetCargoIDByLabel(BSWAP32(cond_val)) == CT_INVALID;
       
  3203 				break;
       
  3204 			case 12: result = GetCargoIDByLabel(BSWAP32(cond_val)) != CT_INVALID;
       
  3205 				break;
  3202 
  3206 
  3203 			default: grfmsg(1, "SkipIf: Unsupported test %d. Ignoring", condtype); return;
  3207 			default: grfmsg(1, "SkipIf: Unsupported test %d. Ignoring", condtype); return;
  3204 		}
  3208 		}
  3205 	}
  3209 	}
  3206 
  3210