(svn r12154) -Codechange: removed a magic number

This commit is contained in:
glx
2008-02-15 23:57:03 +00:00
parent a5f99154b7
commit 3e70ee6ed7
7 changed files with 10 additions and 8 deletions

View File

@@ -818,7 +818,7 @@ static void StationBuildWndProc(Window *w, WindowEvent *e)
SetTileSelectSize(x, y);
}
int rad = (_patches.modified_catchment) ? CA_TRAIN : 4;
int rad = (_patches.modified_catchment) ? CA_TRAIN : CA_UNMODIFIED;
if (_station_show_coverage)
SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);