diff options
Diffstat (limited to 'src/effectvehicle_base.h')
-rw-r--r-- | src/effectvehicle_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effectvehicle_base.h b/src/effectvehicle_base.h index 15c100b06..1f99661eb 100644 --- a/src/effectvehicle_base.h +++ b/src/effectvehicle_base.h @@ -19,6 +19,8 @@ struct EffectVehicle : public SpecializedVehicle<EffectVehicle, VEH_EFFECT> { uint16 animation_state; byte animation_substate; + /** We don't want GCC to zero our struct! It already is zeroed and has an index! */ + EffectVehicle() : SpecializedVehicle<EffectVehicle, VEH_EFFECT>() {} /** We want to 'destruct' the right class. */ virtual ~EffectVehicle() {} |