summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-02-15 17:38:18 +0000
committerbelugas <belugas@openttd.org>2008-02-15 17:38:18 +0000
commitf3adf67a7bd738befffbd7beb2dc206af3cd3a77 (patch)
treed677b85639ab0242dd13489aeddc1d117b929ae3 /src/rail_cmd.cpp
parenta141442ff71e6f9135a7ced849a08125058b538c (diff)
downloadopenttd-f3adf67a7bd738befffbd7beb2dc206af3cd3a77.tar.xz
(svn r12145) -Codechange: includes should be at the top of the source file
-Codechange: undefine a defined macro once work is finished, just in case
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 2830838f6..bb9e4805d 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -45,6 +45,7 @@
#include "table/sprites.h"
#include "table/strings.h"
#include "table/railtypes.h"
+#include "table/track_land.h"
const byte _track_sloped_sprites[14] = {
14, 15, 22, 13,
@@ -1398,8 +1399,6 @@ static CommandCost ClearTile_Track(TileIndex tile, byte flags)
}
}
-#include "table/track_land.h"
-
/**
* Get surface height in point (x,y)
* On tiles with halftile foundations move (x,y) to a save point wrt. track