aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazazel <none@none>2010-08-19 22:24:22 +0600
committerazazel <none@none>2010-08-19 22:24:22 +0600
commit5a237a8ea9eca74674a95f0a3da2f0e3a8a41b4a (patch)
treef67f4f94454047890dbecf1eabc007f347c0ac5e
parent717aac1663dfcf9b47593ed9fb458c3a995d92a5 (diff)
Add missing holiday id <-> BG id definition for AB (by Quriq14)
--HG-- branch : trunk
-rw-r--r--src/server/game/Battlegrounds/BattlegroundMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
index 55c9fb86dba..8e8bb4d72ab 100644
--- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp
+++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
@@ -1146,6 +1146,7 @@ HolidayIds BattlegroundMgr::BGTypeToWeekendHolidayId(BattlegroundTypeId bgTypeId
case BATTLEGROUND_EY: return HOLIDAY_CALL_TO_ARMS_EY;
case BATTLEGROUND_WS: return HOLIDAY_CALL_TO_ARMS_WS;
case BATTLEGROUND_SA: return HOLIDAY_CALL_TO_ARMS_SA;
+ case BATTLEGROUND_AB: return HOLIDAY_CALL_TO_ARMS_AB;
default: return HOLIDAY_NONE;
}
}
@@ -1158,6 +1159,7 @@ BattlegroundTypeId BattlegroundMgr::WeekendHolidayIdToBGType(HolidayIds holiday)
case HOLIDAY_CALL_TO_ARMS_EY: return BATTLEGROUND_EY;
case HOLIDAY_CALL_TO_ARMS_WS: return BATTLEGROUND_WS;
case HOLIDAY_CALL_TO_ARMS_SA: return BATTLEGROUND_SA;
+ case HOLIDAY_CALL_TO_ARMS_AB: return BATTLEGROUND_AB;
default: return BATTLEGROUND_TYPE_NONE;
}
}