# HG changeset patch # User belugas # Date 1203097098 0 # Node ID 270fa0866286bfc35f1ed287b5ff3a6c08571f3c # Parent e81f60ee6a5932137cb0ad6252492d40834161d4 (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 diff -r e81f60ee6a59 -r 270fa0866286 src/rail_cmd.cpp --- a/src/rail_cmd.cpp Fri Feb 15 13:28:13 2008 +0000 +++ b/src/rail_cmd.cpp Fri Feb 15 17:38:18 2008 +0000 @@ -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 @@ } } -#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 diff -r e81f60ee6a59 -r 270fa0866286 src/table/track_land.h --- a/src/table/track_land.h Fri Feb 15 13:28:13 2008 +0000 +++ b/src/table/track_land.h Fri Feb 15 17:38:18 2008 +0000 @@ -50,3 +50,7 @@ { SPR_RAIL_TRACK_X, PAL_NONE, _waypoint_gfx_X }, { SPR_RAIL_TRACK_Y, PAL_NONE, _waypoint_gfx_Y } }; + +#undef TILE_SEQ_LINE +#undef TILE_SEQ_END +