Implemented error message for go_tele_to_dalaran_crystal. By Malcrom.

--HG--
branch : trunk
This commit is contained in:
_manuel_
2010-03-01 20:35:13 -03:00
parent 3bfcc197cf
commit 5448abd9f9
+6 -1
View File
@@ -385,12 +385,17 @@ enum eDalaranCrystal
QUEST_TELE_CRYSTAL_FLAG = 12845
};
#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once."
bool GOHello_go_tele_to_dalaran_crystal(Player *pPlayer, GameObject *pGO)
{
if (pPlayer->GetQuestRewardStatus(QUEST_TELE_CRYSTAL_FLAG))
{
return false;
}
else
pPlayer->GetSession()->SendNotification(GO_TELE_TO_DALARAN_CRYSTAL_FAILED);
//TODO: must send error message (what kind of message? On-screen?)
return true;
}