summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-07 07:35:15 +0000
committertron <tron@openttd.org>2005-10-07 07:35:15 +0000
commit3397e202c82cda0398ef4a642e74f2d864c5dc7d (patch)
tree75058b5a9db24d07229edde45f993401aec6bd63 /industry_cmd.c
parent2b44da199c7bb6aae62a7e6aaae7775a07d16bdd (diff)
downloadopenttd-3397e202c82cda0398ef4a642e74f2d864c5dc7d.tar.xz
(svn r3024) -Codechange: Another batch of replacements of int/uint/int16/byte/-1 with proper types and constants
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 7ec6c82aa..953c0fa4f 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1042,7 +1042,7 @@ static void ChopLumberMillTrees(Industry *i)
do {
tile = TILE_MASK(tile);
if (IsTileType(tile, MP_TREES)) {
- uint old_player = _current_player;
+ PlayerID old_player = _current_player;
/* found a tree */
_current_player = OWNER_NONE;
@@ -1662,7 +1662,7 @@ static void PlaceInitialIndustry(byte type, int amount)
if (_opt.diff.number_industries != 0)
{
- byte old_player = _current_player;
+ PlayerID old_player = _current_player;
_current_player = OWNER_NONE;
assert(num > 0);
@@ -1902,7 +1902,7 @@ static void ChangeIndustryProduction(Industry *i)
void IndustryMonthlyLoop(void)
{
Industry *i;
- byte old_player = _current_player;
+ PlayerID old_player = _current_player;
_current_player = OWNER_NONE;
FOR_ALL_INDUSTRIES(i) {