diff --git a/src/train.h b/src/train.h --- a/src/train.h +++ b/src/train.h @@ -114,6 +114,9 @@ struct Train : public SpecializedVehicle RailTypeByte railtype; RailTypes compatible_railtypes; + /** Ticks waiting in front of a signal, ticks being stuck or a counter for forced proceeding through signals. */ + uint16 wait_counter; + /** We don't want GCC to zero our struct! It already is zeroed and has an index! */ Train() : SpecializedVehicle() {} /** We want to 'destruct' the right class. */