Jump to content
TrinityCore

AlexBexi1833

Plebs
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About AlexBexi1833

  • Rank
    Newbie
  1. I get this warnings and I don't know if I can ignore them or not. /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp: In member function 'virtual void Arena::EndBattleground(uint32)': /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:147:104: warning: enumeral and non -enumeral type in conditional expression ArenaTeam* winnerArenaTeam = sArenaTeamMgr->GetArenaTeamById(GetArenaTeamIdForTeam(winn er == 0 ? ALLIANCE : winner)); ^ /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:148:103: warning: enumeral and non -enumeral type in conditional expression ArenaTeam* loserArenaTeam = sArenaTeamMgr->GetArenaTeamById(GetArenaTeamIdForTeam(winne r == 0 ? HORDE : GetOtherTeam(winner))); ^ /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:155:74: warning: enumeral and non- enumeral type in conditional expression loserMatchmakerRating = GetArenaMatchmakerRating(winner == 0 ? HORDE : GetOtherTeam (winner)); ^ /home/wow/TrinityCore/src/server/game/Battlegrounds/Arena.cpp:157:75: warning: enumeral and non- enumeral type in conditional expression winnerMatchmakerRating = GetArenaMatchmakerRating(winner == 0 ? ALLIANCE : winner); ^ /home/wow/TrinityCore/src/server/game/DataStores/M2Stores.cpp: In function 'bool readCamera(const M2Camera*, uint32, const M2Header*, const CinematicCameraEntry*)': /home/wow/TrinityCore/src/server/game/DataStores/M2Stores.cpp:154:23: warning: variable 'z' set but not used [-Wunused-but-set-variable] float z = lastTarget.locations.z; ^ Please Help. King Regards, AlexBexi
×
×
  • Create New...