src/newgrf_cargo.cpp
branchnoai
changeset 9732 f8eb3e208514
parent 9722 ebf0ece7d8f6
child 9252 92e05c28a994
--- a/src/newgrf_cargo.cpp	Thu Feb 21 22:34:54 2008 +0000
+++ b/src/newgrf_cargo.cpp	Fri Feb 22 00:25:54 2008 +0000
@@ -115,9 +115,7 @@
 
 uint8 GetReverseCargoTranslation(CargoID cargo, const GRFFile *grffile)
 {
-	/* Pre-version 7 uses the 'climate dependent' ID, i.e. cargo is the cargo ID */
-	if (grffile->grf_version < 7) return cargo;
-
+	/* Note: All grf versions use CargoBit here. Pre-version 7 do NOT use the 'climate dependent' ID. */
 	const CargoSpec *cs = GetCargo(cargo);
 
 	/* If the GRF contains a translation table (and the cargo is in the table)