File diff r27420:b37b70eb3169 → r27421:e8c2cdc1e8e6
src/newgrf_house.cpp
Show inline comments
 
@@ -340,7 +340,7 @@ static uint32 GetDistanceFromNearbyHouse
 
		/* Cargo acceptance history of nearby stations */
 
		case 0x64: {
 
			CargoID cid = GetCargoTranslation(parameter, this->ro.grffile);
 
			if (cid == CT_INVALID) return 0;
 
			if (!IsValidCargoID(cid)) return 0;
 

	
 
			/* Extract tile offset. */
 
			int8 x_offs = GB(GetRegister(0x100), 0, 8);