From aa0212515882c5a90c3f2cb86f05952b832a5a9f Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 6 Sep 2004 18:22:25 +0000 Subject: (svn r166) -Codechange: change 74 for constant DAY_TICKS --- graph_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graph_gui.c') diff --git a/graph_gui.c b/graph_gui.c index 29b9165a0..330cefb78 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -667,7 +667,7 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e) if (p2->is_active) UpdateCompanyRatingAndValue(p2, false); - w->custom[0] = 74; + w->custom[0] = DAY_TICKS; w->custom[1] = 5; w->click_state = 1 << 13; @@ -679,7 +679,7 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e) { // Update the player score every 5 days if (--w->custom[0] == 0) { - w->custom[0] = 74; + w->custom[0] = DAY_TICKS; if (--w->custom[1] == 0) { Player *p2; w->custom[1] = 5; -- cgit v1.2.3-54-g00ecf