diff options
author | maximius <none@none> | 2009-11-17 20:26:35 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-17 20:26:35 -0800 |
commit | 27d3bf466c447f8df587eb29f5be48d837b6027c (patch) | |
tree | 2c0d073a6317b3583fb0edc054201c3c91f54e2c /src/game/ObjectMgr.cpp | |
parent | 6659defa6d61d402061b4c2b1442a52a271c14bc (diff) |
*Convert some tabs to 4 spaces.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index d5ca4826e38..4ac56042275 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -5314,14 +5314,13 @@ uint32 ObjectMgr::GetTaxiMountDisplayId( uint32 id, uint32 team, bool allowed_al else mount_entry = node->MountCreatureID[0]; - // Fix for Alliance not being able to use Acherus taxi - // only one mount type for both sides - if (mount_entry == 0 && allowed_alt_team) - { - // Simply reverse the selection. At least one team in theory should - // have a valid mount ID to choose - mount_entry = (team == ALLIANCE) ? node->MountCreatureID[0] : node->MountCreatureID[1]; - } + // Fix for Alliance not being able to use Acherus taxi + // only one mount type for both sides + if (mount_entry == 0 && allowed_alt_team) + { + // Simply reverse the selection. At least one team in theory should have a valid mount ID to choose. + mount_entry = team == ALLIANCE ? node->MountCreatureID[0] : node->MountCreatureID[1]; + } CreatureInfo const *mount_info = GetCreatureTemplate(mount_entry); if (mount_info) |