diff options
author | _manuel_ <manue.l@live.com.ar> | 2010-03-01 20:35:13 -0300 |
---|---|---|
committer | _manuel_ <manue.l@live.com.ar> | 2010-03-01 20:35:13 -0300 |
commit | 5448abd9f9ca7cf0f2a68d603c987280ad3c9639 (patch) | |
tree | 895df155b880e13aecb41d876926ff1a505ceeab /src | |
parent | 3bfcc197cf375d16ffccd19bd0c79d375c8706b7 (diff) |
Implemented error message for go_tele_to_dalaran_crystal. By Malcrom.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/scripts/world/go_scripts.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/scripts/world/go_scripts.cpp b/src/scripts/world/go_scripts.cpp index 76b8c197f66..67b84279ece 100644 --- a/src/scripts/world/go_scripts.cpp +++ b/src/scripts/world/go_scripts.cpp @@ -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; } |