summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-06 18:22:25 +0000
committerdarkvater <darkvater@openttd.org>2004-09-06 18:22:25 +0000
commitaa0212515882c5a90c3f2cb86f05952b832a5a9f (patch)
treeef79f4519291cb14b916d6ee44f742eedae48690 /graph_gui.c
parentbf0652d3fce57024fe56f75d43898a261fea7570 (diff)
downloadopenttd-aa0212515882c5a90c3f2cb86f05952b832a5a9f.tar.xz
(svn r166) -Codechange: change 74 for constant DAY_TICKS
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c4
1 files changed, 2 insertions, 2 deletions
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;