From 33d283fdb1710e40cff4daaabde6aa78325d4623 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 18 Dec 2011 17:17:18 +0000 Subject: (svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls --- src/effectvehicle_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/effectvehicle_base.h') diff --git a/src/effectvehicle_base.h b/src/effectvehicle_base.h index c16ee5f53..e3403b851 100644 --- a/src/effectvehicle_base.h +++ b/src/effectvehicle_base.h @@ -22,7 +22,7 @@ * - bulldozer (road works) * - bubbles (industry) */ -struct EffectVehicle : public SpecializedVehicle { +struct EffectVehicle FINAL : public SpecializedVehicle { uint16 animation_state; ///< State primarily used to change the graphics/behaviour. byte animation_substate; ///< Sub state to time the change of the graphics/behaviour. -- cgit v1.2.3-54-g00ecf