From 3d5584fb8696a449a4b749ff3e7482bc2e70bdca Mon Sep 17 00:00:00 2001 From: ariel- Date: Sat, 27 May 2017 21:13:03 -0300 Subject: [PATCH] Core/Pools: fix VS dynamic linking --- src/server/game/Pools/PoolMgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/game/Pools/PoolMgr.cpp b/src/server/game/Pools/PoolMgr.cpp index fbe3d7a987f..4fced58b5fd 100644 --- a/src/server/game/Pools/PoolMgr.cpp +++ b/src/server/game/Pools/PoolMgr.cpp @@ -34,28 +34,28 @@ uint32 ActivePoolData::GetActiveObjectCount(uint32 pool_id) const // Method that tell if a creature is spawned currently template<> -bool ActivePoolData::IsActiveObject(uint32 db_guid) const +TC_GAME_API bool ActivePoolData::IsActiveObject(uint32 db_guid) const { return mSpawnedCreatures.find(db_guid) != mSpawnedCreatures.end(); } // Method that tell if a gameobject is spawned currently template<> -bool ActivePoolData::IsActiveObject(uint32 db_guid) const +TC_GAME_API bool ActivePoolData::IsActiveObject(uint32 db_guid) const { return mSpawnedGameobjects.find(db_guid) != mSpawnedGameobjects.end(); } // Method that tell if a pool is spawned currently template<> -bool ActivePoolData::IsActiveObject(uint32 sub_pool_id) const +TC_GAME_API bool ActivePoolData::IsActiveObject(uint32 sub_pool_id) const { return mSpawnedPools.find(sub_pool_id) != mSpawnedPools.end(); } // Method that tell if a quest can be started template<> -bool ActivePoolData::IsActiveObject(uint32 quest_id) const +TC_GAME_API bool ActivePoolData::IsActiveObject(uint32 quest_id) const { return mActiveQuests.find(quest_id) != mActiveQuests.end(); }