summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-04 14:53:06 +0000
committersmatz <smatz@openttd.org>2008-04-04 14:53:06 +0000
commit42ed287506467b8e3f58e7b909297dec5834c0e1 (patch)
tree7826a04a28fe6e243d63953f6fb6472697bea025 /src/economy.cpp
parent2675db8d70fa010ee04fbca2937e7fc9ec19e945 (diff)
downloadopenttd-42ed287506467b8e3f58e7b909297dec5834c0e1.tar.xz
(svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 0544f2b68..79283e664 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -351,7 +351,7 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player)
}
/* Reset the ratings for the old player */
- t->ratings[old_player] = 500;
+ t->ratings[old_player] = RATING_INITIAL;
ClrBit(t->have_ratings, old_player);
}