summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-04-12 17:58:09 +0000
committerterkhen <terkhen@openttd.org>2010-04-12 17:58:09 +0000
commit7ba4f98ce571814d2d1ec647f4175c4ba1df0643 (patch)
tree2bc9aa125b4be9eebf12acc101ee09752d29b17a /src/graph_gui.cpp
parent0ef33548c20ae9cf73a6e9e850b17137b1453dd3 (diff)
downloadopenttd-7ba4f98ce571814d2d1ec647f4175c4ba1df0643.tar.xz
(svn r19615) -Fix [FS#3763]: Company related graphs weren't updated correctly after changing the company colour.
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 9b43dba56..de1479461 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -528,7 +528,7 @@ public:
virtual void OnInvalidateData(int data)
{
- this->OnTick();
+ this->UpdateStatistics(true);
}
/**