From f1189326439122811d9db35674d7f356575d2863 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 9 Aug 2009 16:54:03 +0000 Subject: (svn r17133) -Codechange: generalise the code that searches for base graphics --- src/network/network_content.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/network_content.cpp') diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index b10d2cf85..5f1590f15 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -12,6 +12,7 @@ #include "../window_func.h" #include "../gui.h" #include "../variables.h" +#include "../base_media_base.h" #include "network_content.h" #include "table/strings.h" @@ -21,7 +22,6 @@ #endif extern bool TarListAddFile(const char *filename); -extern bool HasGraphicsSet(const ContentInfo *ci, bool md5sum); extern bool HasScenario(const ContentInfo *ci, bool md5sum); ClientNetworkContentSocketHandler _network_content_client; @@ -79,7 +79,7 @@ DEF_CONTENT_RECEIVE_COMMAND(Client, PACKET_CONTENT_SERVER_INFO) break; case CONTENT_TYPE_BASE_GRAPHICS: - proc = HasGraphicsSet; + proc = BaseGraphics::HasSet; break; case CONTENT_TYPE_AI: -- cgit v1.2.3-54-g00ecf