mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +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;
|
result = result2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(questgiver->GetTypeId()==TYPEID_UNIT && ((Creature*)questgiver)->isCanTrainingAndResetTalentsOf(pPlayer) && result < DIALOG_STATUS_CHAT)
|
|
||||||
result = DIALOG_STATUS_CHAT;
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7893"
|
#define REVISION_NR "7894"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue