PDA

Просмотр полной версии : [10781] Use BattleGround(AV)TeamIndex enum types in AV battleground code.


newsbot
24.11.2010, 17:40
автор: VladimirMangos


<pre>m src/game/BattleGround.cpp
m src/game/BattleGround.h
m src/game/BattleGroundAB.cpp
m src/game/BattleGroundAV.cpp
m src/game/BattleGroundAV.h
m src/game/BattleGroundEY.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10781] Use BattleGround(AV)TeamIndex enum types in AV battleground code.

* Added BattleGroundAVTeamIndex enum type for 3-case special team list fo AV.
* Rename BattleGroundTeamId -> BattleGroundTeamIndex for clarify
* Some safe checks added and dropped bogus call RewardReputationToTeam in BattleGroundAV::HandleQuestComplete
for BattleGroundTeamIndex as faction. Unclear for what it expected used so dropped.</pre>




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