diff options
author | KUDr <KUDr@openttd.org> | 2006-05-27 16:12:16 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-05-27 16:12:16 +0000 |
commit | 308f27a3de3817cc96ad21b7830b261443206cc0 (patch) | |
tree | e4580db6e03032a997fce1392929b7190dc3b03d /openttd.c | |
parent | 3c2eb4f0865c912340f292ece24cf5664559c1ad (diff) | |
download | openttd-308f27a3de3817cc96ad21b7830b261443206cc0.tar.xz |
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -46,6 +46,7 @@ #include "waypoint.h" #include "ai/ai.h" #include "train.h" +#include "yapf/yapf.h" #include "settings.h" #include <stdarg.h> @@ -1427,6 +1428,8 @@ bool AfterLoadGame(void) } } + YapfNotifyTrackLayoutChange(INVALID_TILE, INVALID_TRACK); + FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index); if (!CheckSavegameVersion(27)) AfterLoadStations(); |