mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7894] Avoid show quest sign for trainer under cursor if trianer have unavailable quest.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
f271fd6819
commit
0b020154d9
2 changed files with 1 additions and 4 deletions
|
|
@ -591,9 +591,6 @@ uint32 WorldSession::getDialogStatus(Player *pPlayer, Object* questgiver, uint32
|
|||
result = result2;
|
||||
}
|
||||
|
||||
if(questgiver->GetTypeId()==TYPEID_UNIT && ((Creature*)questgiver)->isCanTrainingAndResetTalentsOf(pPlayer) && result < DIALOG_STATUS_CHAT)
|
||||
result = DIALOG_STATUS_CHAT;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue