summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-04-30 11:57:37 +0200
committerPatric Stout <github@truebrain.nl>2021-04-30 12:48:41 +0200
commit665a3928e2f07e6ee1faed1c8b08fe3a68fbc37a (patch)
tree8cd661bfeeddb5a618a2c22519f2b3d89507dfbb /src/pathfinder/npf
parente162aff7a3d1dfcde1a9d02780235c617b6d4983 (diff)
downloadopenttd-665a3928e2f07e6ee1faed1c8b08fe3a68fbc37a.tar.xz
Remove: performance measurements in YAPF
YAPF was constantly measuring its performance, but only at certain debug-levels this information was shown. Now after years, I sincerely wonder if anyone still knows about this feature and who still use it. Especially with the new framerate window, this detailed performance is not as meaningful anymore as it once was.
Diffstat (limited to 'src/pathfinder/npf')
-rw-r--r--src/pathfinder/npf/npf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp
index 315b43b0e..009452161 100644
--- a/src/pathfinder/npf/npf.cpp
+++ b/src/pathfinder/npf/npf.cpp
@@ -8,6 +8,7 @@
/** @file npf.cpp Implementation of the NPF pathfinder. */
#include "../../stdafx.h"
+#include "../../debug.h"
#include "../../network/network.h"
#include "../../viewport_func.h"
#include "../../ship.h"