summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
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;