mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
[12128] Fix more warnings - close #4
* Remove warning: enumeration value '<value>' not handled in switch * Remove warning: enumeral and non-enumeral type in conditional expression * Remove warning: too many arguments for format Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
1707edbcfd
commit
6e76dbae3f
16 changed files with 43 additions and 16 deletions
|
|
@ -557,6 +557,7 @@ AuctionHouseEntry const* AuctionHouseMgr::GetAuctionHouseEntry(Unit* unit)
|
|||
{
|
||||
case ALLIANCE: houseid = player->GetAuctionAccessMode() == 0 ? 1 : 6; break;
|
||||
case HORDE: houseid = player->GetAuctionAccessMode() == 0 ? 6 : 1; break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue