diff options
author | Aokromes <Aokromes@users.noreply.github.com> | 2017-04-16 17:32:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 17:32:16 +0200 |
commit | 8ca9d0e7deadf6ee805a455e5fd3e87921a5b470 (patch) | |
tree | 1b8719871bdfebe66ff82f4fcf0ee3b173c2957e | |
parent | 7717b833c2df989915c7b4f4021b8a4967e25b67 (diff) |
Update NPCHandler.cpp
-rw-r--r-- | src/server/game/Handlers/NPCHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/NPCHandler.cpp b/src/server/game/Handlers/NPCHandler.cpp index 3b257f238a4..e5609379307 100644 --- a/src/server/game/Handlers/NPCHandler.cpp +++ b/src/server/game/Handlers/NPCHandler.cpp @@ -127,8 +127,8 @@ void WorldSession::SendTrainerList(ObjectGuid guid, const std::string& strTitle, { TrainerSpell const* tSpell = &itr->second; -+ if (index && tSpell->Index != index) -+ continue; + if (index && tSpell->Index != index) + continue; bool valid = true; for (uint8 i = 0; i < MAX_TRAINERSPELL_ABILITY_REQS; ++i) |