summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-08-06 16:07:22 +0000
committerbjarni <bjarni@openttd.org>2005-08-06 16:07:22 +0000
commit9952ff0b597c3e9da0c9105cc6d2ab32e1ac7b8b (patch)
tree4628a0df8999b185f9edb643da5024f1ae22e3bc /player.h
parenta1a91eb7f7b9bc356e4a97f76fec2d58a5bf914a (diff)
downloadopenttd-9952ff0b597c3e9da0c9105cc6d2ab32e1ac7b8b.tar.xz
(svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
-This means that one company can only have one setting for renew and replacing more clients will not fight due to different settings anymore -This is a needed step in the line to fix autoreplacing dualheaded locomotives NOTE: savegame revision bump (peter1138 + me in coop)
Diffstat (limited to 'player.h')
-rw-r--r--player.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/player.h b/player.h
index 4b1939a6c..6517d0d2d 100644
--- a/player.h
+++ b/player.h
@@ -187,6 +187,10 @@ typedef struct Player {
int64 yearly_expenses[3][13];
PlayerEconomyEntry cur_economy;
PlayerEconomyEntry old_economy[24];
+ EngineID engine_replacement[256];
+ bool engine_renew;
+ int16 engine_renew_months;
+ uint32 engine_renew_money;
} Player;
void ChangeOwnershipOfPlayerItems(byte old_player, byte new_player);