summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-08-01 16:31:19 +0000
committerludde <ludde@openttd.org>2005-08-01 16:31:19 +0000
commit29564f9fcfc6e2dffb7afa196dbcabb04c99bee7 (patch)
treedc182cc3e9eea6a1776b7fdc84014ec094051275 /graph_gui.c
parent91353c841f3adde7f601ab4185e3486a034dbd04 (diff)
downloadopenttd-29564f9fcfc6e2dffb7afa196dbcabb04c99bee7.tar.xz
(svn r2781) Fix some of the issues with variables in .h files.
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 48d813aac..e7b0b21f0 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -936,8 +936,8 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e)
for (i=0;i<NUM_SCORE;i++) {
y += 20;
val = _score_part[owner][i];
- needed = score_info[i].needed;
- score = score_info[i].score;
+ needed = _score_info[i].needed;
+ score = _score_info[i].score;
// SCORE_TOTAL has his own rulez ;)
if (i == SCORE_TOTAL) {
needed = total_score;