diff options
author | Patric Stout <truelight@openttd.org> | 2018-04-11 22:07:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-11 22:07:21 +0200 |
commit | 17bd580630fe56d48daaf017f01912064658c123 (patch) | |
tree | 7213d7622e25e3e2e75fba484b04306d82af2aaf /src/pathfinder/npf | |
parent | 66f67ac5ac6fe3401f7b8d0eb1c75b23f0475c75 (diff) | |
download | openttd-17bd580630fe56d48daaf017f01912064658c123.tar.xz |
Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703)
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action
This fixes #6652.
Diffstat (limited to 'src/pathfinder/npf')
-rw-r--r-- | src/pathfinder/npf/npf.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp index ee60dace4..f989ff2c3 100644 --- a/src/pathfinder/npf/npf.cpp +++ b/src/pathfinder/npf/npf.cpp @@ -275,7 +275,6 @@ static uint NPFReservedTrackCost(AyStarNode *current) */ static void NPFMarkTile(TileIndex tile) { -#ifndef NO_DEBUG_MESSAGES if (_debug_npf_level < 1 || _networking) return; switch (GetTileType(tile)) { case MP_RAILWAY: @@ -296,7 +295,6 @@ static void NPFMarkTile(TileIndex tile) default: break; } -#endif } static int32 NPFWaterPathCost(AyStar *as, AyStarNode *current, OpenListNode *parent) |