PDA

Просмотр полной версии : [11355] Use ArenaType enum instead raw values


newsbot
15.04.2011, 03:40
автор: VladimirMangos


<pre>m src/game/ArenaTeam.cpp
m src/game/ArenaTeam.h
m src/game/BattleGround.cpp
m src/game/BattleGround.h
m src/game/BattleGroundHandler.cpp
m src/game/BattleGroundMgr.cpp
m src/game/BattleGroundMgr.h
m src/game/PetitionsHandler.cpp
m src/game/Player.cpp
m src/game/Player.h
m src/game/SharedDefines.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[11355] Use ArenaType enum instead raw values

* Drop duplicate ArenaTeamTypes
* Use enum type where appropriate
* More strict check integrity arena team data at loading.</pre>




Дальше... (https://github.com/mangos/mangos/commit/1d1633eff66400aa302592844e592a5e29a498bf)