From 71c4325c50ae594a5adf01cac7c9e527b239cdcb Mon Sep 17 00:00:00 2001 From: skidd13 Date: Mon, 19 Nov 2007 21:02:30 +0000 Subject: (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style --- src/newgrf_cargo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_cargo.cpp') diff --git a/src/newgrf_cargo.cpp b/src/newgrf_cargo.cpp index e9323f930..f6548b81d 100644 --- a/src/newgrf_cargo.cpp +++ b/src/newgrf_cargo.cpp @@ -104,7 +104,7 @@ CargoID GetCargoTranslation(uint8 cargo, const GRFFile *grffile, bool usebit) if (grffile->grf_version < 7) { if (!usebit) return cargo; /* Else the cargo value is a 'climate independent' 'bitnum' */ - if (HASBIT(_cargo_mask, cargo)) return GetCargoIDByBitnum(cargo); + if (HasBit(_cargo_mask, cargo)) return GetCargoIDByBitnum(cargo); } else { /* If the GRF contains a translation table (and the cargo is in bounds) * then get the cargo ID for the label */ -- cgit v1.2.3-54-g00ecf