summaryrefslogtreecommitdiff
path: root/src/cargotype.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commiteeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/cargotype.cpp
parentb8885630aa9942ea924ffb6eeabc266140485435 (diff)
downloadopenttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/cargotype.cpp')
-rw-r--r--src/cargotype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargotype.cpp b/src/cargotype.cpp
index 1b10b680d..7c8cb40de 100644
--- a/src/cargotype.cpp
+++ b/src/cargotype.cpp
@@ -37,7 +37,7 @@ void SetupCargoForClimate(LandscapeID l)
if (cl < lengthof(_default_cargo)) {
/* Copy the indexed cargo */
_cargo[i] = _default_cargo[cl];
- SETBIT(_cargo_mask, i);
+ SetBit(_cargo_mask, i);
continue;
}
@@ -48,7 +48,7 @@ void SetupCargoForClimate(LandscapeID l)
_cargo[i] = _default_cargo[j];
/* Populate the available cargo mask */
- SETBIT(_cargo_mask, i);
+ SetBit(_cargo_mask, i);
break;
}
}