From 9f784fa03b34a481caa386b1b00fa196ecfc627f Mon Sep 17 00:00:00 2001 From: stfx Date: Thu, 3 Sep 2015 01:19:14 +0200 Subject: [PATCH] Fix compile after recent core git_id changes --- ScriptMgr.cpp | 6 ------ system/MangosdRev.cpp | 8 -------- 2 files changed, 14 deletions(-) diff --git a/ScriptMgr.cpp b/ScriptMgr.cpp index 36b3bbd9..82b19433 100644 --- a/ScriptMgr.cpp +++ b/ScriptMgr.cpp @@ -252,12 +252,6 @@ void Script::RegisterSelf(bool bReportError) //******************************** //*** Functions to be Exported *** -MANGOS_DLL_EXPORT -char const* GetScriptLibraryVersion() -{ - return strSD2Version.c_str(); -} - MANGOS_DLL_EXPORT bool GossipHello(Player* pPlayer, Creature* pCreature) { diff --git a/system/MangosdRev.cpp b/system/MangosdRev.cpp index a9dcbf23..5888ba62 100644 --- a/system/MangosdRev.cpp +++ b/system/MangosdRev.cpp @@ -2,8 +2,6 @@ * This program is free software licensed under GPL version 2 * Please see the included DOCS/LICENSE.TXT for more information */ -#include "../../../shared/revision_nr.h" - #ifdef WIN32 # define MANGOS_DLL_EXPORT extern "C" __declspec(dllexport) #elif defined( __GNUC__ ) @@ -11,9 +9,3 @@ #else # define MANGOS_DLL_EXPORT extern "C" export #endif - -MANGOS_DLL_EXPORT -char const* GetMangosRevStr() -{ - return REVISION_NR; -}