mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 12:52:25 +01:00
Correct include dirs in scripts and achievement_scripts build errors (because of Battleground renames)
--HG-- branch : trunk
This commit is contained in:
@@ -81,7 +81,7 @@ include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI/EventAI
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AI/ScriptedAI
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/BattleGrounds
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Battlegrounds
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Calendar
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Chat
|
||||
${CMAKE_SOURCE_DIR}/src/server/game/Conditions
|
||||
|
||||
@@ -42,10 +42,10 @@ class achievement_storm_glory : public AchievementCriteriaScript
|
||||
|
||||
bool OnCheck(Player* source, Unit* /*target*/)
|
||||
{
|
||||
if (source->GetBattleGroundTypeId() != BATTLEGROUND_EY)
|
||||
if (source->GetBattlegroundTypeId() != BATTLEGROUND_EY)
|
||||
return false;
|
||||
|
||||
BattleGround *pEotS = source->GetBattleGround();
|
||||
Battleground *pEotS = source->GetBattleground();
|
||||
if (!pEotS)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user