summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 7d0007fd2..ed67a5221 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -35,6 +35,7 @@
#include "core/backup_type.hpp"
#include "newgrf.h"
#include "zoom_func.h"
+#include "framerate_type.h"
#include "table/strings.h"
@@ -1587,6 +1588,8 @@ Money RoadVehicle::GetRunningCost() const
bool RoadVehicle::Tick()
{
+ PerformanceAccumulator framerate(PFE_GL_ROADVEHS);
+
this->tick_counter++;
if (this->IsFrontEngine()) {