1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-21 19:32:54 +01:00

(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

@@ -243,7 +243,7 @@ static void BuildDockStationWndProc(Window *w, WindowEvent *e)
case WE_CREATE: w->LowerWidget(_station_show_coverage + 3); break;
case WE_PAINT: {
int rad = (_patches.modified_catchment) ? CA_DOCK : 4;
int rad = (_patches.modified_catchment) ? CA_DOCK : CA_UNMODIFIED;
if (WP(w, def_d).close) return;
DrawWindowWidgets(w);