summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-10-02 00:28:31 +0000
committerbelugas <belugas@openttd.org>2006-10-02 00:28:31 +0000
commit2c45339e0ae0fa0b466b725eb2280a16a5b167d5 (patch)
tree824c32c54efb62eb8db1cd43c94dbe8c28a30b9a /graph_gui.c
parent21591b5219a99a9d798c43dc2d89e7d00475f7cd (diff)
downloadopenttd-2c45339e0ae0fa0b466b725eb2280a16a5b167d5.tar.xz
(svn r6612) -Codechange: Use accessors for hidden_state.
Another step toward merging XTDwidget. The only two files not converted (window.h and widget.c) will be done at the very last commit)
Diffstat (limited to 'graph_gui.c')
-rw-r--r--graph_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph_gui.c b/graph_gui.c
index a24f17019..ee725b526 100644
--- a/graph_gui.c
+++ b/graph_gui.c
@@ -1010,7 +1010,7 @@ static void PerformanceRatingDetailWndProc(Window *w, WindowEvent *e)
case WE_CREATE: {
int i;
Player *p2;
- w->hidden_state = 0;
+
w->disabled_state = 0;
// Hide the player who are not active