forked from mirror/OpenTTD
(svn r206) -Fix: [1001540] i lost all wagons. Half-assed fix for lost wagons. But now users can at least fix this problem. Consolecommand: "resetengines"
This commit is contained in:
2
engine.c
2
engine.c
@@ -7,6 +7,7 @@
|
||||
#include "vehicle.h"
|
||||
#include "news.h"
|
||||
#include "saveload.h"
|
||||
#include "console.h"
|
||||
|
||||
#define UPDATE_PLAYER_RAILTYPE(e,p) if ((byte)(e->railtype + 1) > p->max_railtype) p->max_railtype = e->railtype + 1;
|
||||
|
||||
@@ -164,6 +165,7 @@ void StartupEngines()
|
||||
AdjustAvailAircraft();
|
||||
}
|
||||
|
||||
_iconsole_var * IConsoleResetEngines(byte argc, byte* argv[], byte argt[]) {StartupEngines(); return 0;}
|
||||
|
||||
uint32 _engine_refit_masks[256];
|
||||
|
||||
|
Reference in New Issue
Block a user