From 81ae7c4eb671c17667f54f063a41d1eac741460a Mon Sep 17 00:00:00 2001 From: Carbenium Date: Sun, 26 Jul 2015 16:52:59 +0200 Subject: [PATCH] Fix build after merge --- src/server/game/Guilds/Guild.h | 1 + src/server/game/Server/WorldSession.cpp | 1 + src/server/scripts/Spells/spell_hunter.cpp | 2 -- src/server/shared/Utilities/Util.cpp | 5 ++--- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/server/game/Guilds/Guild.h b/src/server/game/Guilds/Guild.h index 0a69c4b7b7..95419890f8 100644 --- a/src/server/game/Guilds/Guild.h +++ b/src/server/game/Guilds/Guild.h @@ -390,6 +390,7 @@ private: uint8 GetFlags() const { return m_flags; } uint32 GetZoneId() const { return m_zoneId; } bool IsOnline() const { return (m_flags & GUILDMEMBER_STATUS_ONLINE); } + uint32 GetAchievementPoints() const { return m_achievementPoints; } uint64 GetTotalActivity() const { return m_totalActivity; } uint64 GetWeekActivity() const { return m_weekActivity; } uint32 GetTotalReputation() const { return m_totalReputation; } diff --git a/src/server/game/Server/WorldSession.cpp b/src/server/game/Server/WorldSession.cpp index 937a95af14..fa2ae1817c 100644 --- a/src/server/game/Server/WorldSession.cpp +++ b/src/server/game/Server/WorldSession.cpp @@ -46,6 +46,7 @@ #include "WardenWin.h" #include "WardenMac.h" #include "WardenMac.h" +#include "BattlenetServerManager.h" #include diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index adde918247..ae9501b173 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -181,8 +181,6 @@ class spell_hun_cobra_shot : public SpellScriptLoader void HandleScriptEffect(SpellEffIndex /*effIndex*/) { GetCaster()->CastSpell(GetCaster(), SPELL_HUNTER_GENERIC_ENERGIZE_FOCUS, true); - if (Player* modOwner = caster->GetSpellModOwner()) - modOwner->ApplySpellMod(aura->GetSpellInfo()->Id, SPELLMOD_DOT, basePoint); if (Aura* aur = GetHitUnit()->GetAura(SPELL_HUNTER_SERPENT_STING, GetCaster()->GetGUID())) { diff --git a/src/server/shared/Utilities/Util.cpp b/src/server/shared/Utilities/Util.cpp index d01c8db386..5c7b56e7ea 100644 --- a/src/server/shared/Utilities/Util.cpp +++ b/src/server/shared/Utilities/Util.cpp @@ -572,8 +572,6 @@ std::string ByteArrayToHexStr(uint8 const* bytes, uint32 arrayLen, bool reverse return ss.str(); } -} - void HexStrToByteArray(std::string const& str, uint8* out, bool reverse /*= false*/) { // string must have even number of characters @@ -596,4 +594,5 @@ void HexStrToByteArray(std::string const& str, uint8* out, bool reverse /*= fals { char buffer[3] = { str[i], str[i + 1], '\0' }; out[j++] = strtoul(buffer, NULL, 16); - } \ No newline at end of file + } +} \ No newline at end of file