summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKUDr <KUDr@openttd.org>2007-06-24 13:30:03 +0000
committerKUDr <KUDr@openttd.org>2007-06-24 13:30:03 +0000
commit1983b349f6d0413595329906ec17d9af1a51fac2 (patch)
tree6b3819d281a32d1bfb09c8c77515a92265fe72df /src
parentaa93897197592d21539099a71556af85f8148a58 (diff)
downloadopenttd-1983b349f6d0413595329906ec17d9af1a51fac2.tar.xz
(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)
Diffstat (limited to 'src')
-rw-r--r--src/yapf/yapf_costrail.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp
index db6fb8d1a..103275fe7 100644
--- a/src/yapf/yapf_costrail.hpp
+++ b/src/yapf/yapf_costrail.hpp
@@ -247,7 +247,6 @@ public:
* - penalty for too long or too short platform on the destination station
*/
int transition_cost = 0;
- int tile_cost = 0;
int extra_cost = 0;
/* Segment: one or more tiles connected by contiguous tracks of the same type.