(svn r4466) -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted.

-Negative side effect: upon loading old games, stations whose last vehicle was a station have (temporarily) lower ratings.
   -Positive side effect: station.h no longer includes vehicle.h (breaks the station.h->vehicle.h->rail.h chain)
This commit is contained in:
celestar
2006-04-18 08:50:17 +00:00
parent 6c5e9fe311
commit 277f8cbda2
7 changed files with 17 additions and 10 deletions

View File

@@ -8,6 +8,7 @@
#include "rail.h"
enum {
VEH_Invalid = 0,
VEH_Train = 0x10,
VEH_Road = 0x11,
VEH_Ship = 0x12,