summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-08 20:51:30 +0000
committerrubidium <rubidium@openttd.org>2011-02-08 20:51:30 +0000
commite1eeca644057fa4e9a0cb4f184f17ef128e3cb05 (patch)
tree992a0c609c2d6469d58ba76553f6616d438098cf
parent5286de116b56629044c93a78292ff8d0bebef32c (diff)
downloadopenttd-e1eeca644057fa4e9a0cb4f184f17ef128e3cb05.tar.xz
(svn r22029) -Fix [FS#4482]: the server list got not resorted/redrawn after NewGRFs were downloaded
-rw-r--r--src/network/network_gamelist.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network_gamelist.cpp b/src/network/network_gamelist.cpp
index 814a5ed49..3e6db1317 100644
--- a/src/network/network_gamelist.cpp
+++ b/src/network/network_gamelist.cpp
@@ -16,6 +16,7 @@
#include "../stdafx.h"
#include "../debug.h"
+#include "../window_func.h"
#include "../thread/thread.h"
#include "network_internal.h"
#include "network_udp.h"
@@ -195,6 +196,8 @@ void NetworkAfterNewGRFScan()
}
}
}
+
+ InvalidateWindowClassesData(WC_NETWORK_WINDOW);
}
#endif /* ENABLE_NETWORK */