diff options
author | bjarni <bjarni@openttd.org> | 2005-08-06 16:07:22 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-08-06 16:07:22 +0000 |
commit | ed8e2bac048a6c4ba73e226b7a8332759bab0697 (patch) | |
tree | 4628a0df8999b185f9edb643da5024f1ae22e3bc /player.h | |
parent | ddb58492f300333751d4054e3555845ddc3df307 (diff) | |
download | openttd-ed8e2bac048a6c4ba73e226b7a8332759bab0697.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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |