summaryrefslogtreecommitdiff
path: root/src/pathfinder
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-07 22:29:47 +0000
committerrubidium <rubidium@openttd.org>2011-02-07 22:29:47 +0000
commitfaf5d899f7c162e1b8762ba5a781ea13fa58330f (patch)
treeee16420cdb29e9b606b0e4f4fdf6fd91ce7ee63e /src/pathfinder
parent68ace1b79bb712b471eb0d19ade19b20a7ad271d (diff)
downloadopenttd-faf5d899f7c162e1b8762ba5a781ea13fa58330f.tar.xz
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
Diffstat (limited to 'src/pathfinder')
-rw-r--r--src/pathfinder/npf/npf.cpp2
-rw-r--r--src/pathfinder/yapf/yapf_rail.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp
index 4f277cdcc..f8ab9c2f0 100644
--- a/src/pathfinder/npf/npf.cpp
+++ b/src/pathfinder/npf/npf.cpp
@@ -12,7 +12,7 @@
#include "../../stdafx.h"
#include "../../debug.h"
#include "../../network/network.h"
-#include "../../functions.h"
+#include "../../viewport_func.h"
#include "../../ship.h"
#include "../../roadstop_base.h"
#include "../pathfinder_func.h"
diff --git a/src/pathfinder/yapf/yapf_rail.cpp b/src/pathfinder/yapf/yapf_rail.cpp
index 293c2cc4f..d6776f75d 100644
--- a/src/pathfinder/yapf/yapf_rail.cpp
+++ b/src/pathfinder/yapf/yapf_rail.cpp
@@ -16,7 +16,7 @@
#include "yapf_node_rail.hpp"
#include "yapf_costrail.hpp"
#include "yapf_destrail.hpp"
-#include "../../functions.h"
+#include "../../viewport_func.h"
#define DEBUG_YAPF_CACHE 0