mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r11415) -Fix [FS#1428]: do not ignore the autorenew settings for new games when creating a new game.
This commit is contained in:
parent
084ede9dca
commit
1e3e5bf2cf
@ -28,6 +28,7 @@
|
||||
#include "window.h"
|
||||
#include "player_face.h"
|
||||
#include "group.h"
|
||||
#include "settings.h"
|
||||
|
||||
/**
|
||||
* Sets the local player and updates the patch settings that are set on a
|
||||
@ -489,9 +490,9 @@ Player *DoStartupNewPlayer(bool is_ai)
|
||||
/* Engine renewal settings */
|
||||
p->engine_renew_list = NULL;
|
||||
p->renew_keep_length = false;
|
||||
p->engine_renew = false;
|
||||
p->engine_renew_months = -6;
|
||||
p->engine_renew_money = 100000;
|
||||
p->engine_renew = _patches_newgame.autorenew;
|
||||
p->engine_renew_months = _patches_newgame.autorenew_months;
|
||||
p->engine_renew_money = _patches_newgame.autorenew_money;
|
||||
|
||||
GeneratePresidentName(p);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user