diff options
author | darkvater <darkvater@openttd.org> | 2004-09-11 19:18:30 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-11 19:18:30 +0000 |
commit | d03afadad23fced4bbb11df12a01f26cdbaf6844 (patch) | |
tree | 9e1cc9f279d8bed981616951fb82a23051f9d21d /engine.c | |
parent | fe8c317d3ce5b399611ea9d7445b6c0870b041e5 (diff) | |
download | openttd-d03afadad23fced4bbb11df12a01f26cdbaf6844.tar.xz |
(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"
Diffstat (limited to 'engine.c')
-rw-r--r-- | engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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]; |