diff --git a/src/game/BattleGroundAV.cpp b/src/game/BattleGroundAV.cpp index ea8fed33d..212c05d61 100644 --- a/src/game/BattleGroundAV.cpp +++ b/src/game/BattleGroundAV.cpp @@ -101,7 +101,9 @@ void BattleGroundAV::HandleQuestComplete(uint32 questid, Player *player) { if (GetStatus() != STATUS_IN_PROGRESS) return; - BattleGroundTeamIndex teamIdx = GetTeamIndexByTeamId(player->GetTeam()); + BattleGroundAVTeamIndex teamIdx = GetAVTeamIndexByTeamId(player->GetTeam()); + MANGOS_ASSERT(teamIdx != BG_AV_TEAM_NEUTRAL); + uint32 reputation = 0; // reputation for the whole team (other reputation must be done in db) // TODO add events (including quest not available anymore, next quest availabe, go/npc de/spawning) sLog.outError("BattleGroundAV: Quest %i completed", questid); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index b7e6bff0b..ae5f91624 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10784" + #define REVISION_NR "10785" #endif // __REVISION_NR_H__