mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10785] Fixed warnings at comparison BattleGroundTeamIndex and BattleGroundAVTeamIndex
Maybe adding special operator== or != can be more nice way but for small used cases this not look so need really.
This commit is contained in:
parent
21710cf05d
commit
d266db672d
2 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10784"
|
||||
#define REVISION_NR "10785"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue