aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-01-07 21:43:55 -0700
committerBrian <runningnak3d@gmail.com>2010-01-07 21:43:55 -0700
commitf91b28973343a0f76048e1ffb901b50ab318b643 (patch)
treefb523af0d89cd40886cde89546ecd80f28eb9587 /src/game/Level3.cpp
parentd4b9cafb186994ea93840f452eb8abe99a1ab864 (diff)
* Added support for outputting phasemask in .npc info
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 540bd0d8586..d616a93e2d6 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -4627,6 +4627,7 @@ bool ChatHandler::HandleNpcInfoCommand(const char* /*args*/)
PSendSysMessage(LANG_COMMAND_RAWPAWNTIMES, defRespawnDelayStr.c_str(),curRespawnDelayStr.c_str());
PSendSysMessage(LANG_NPCINFO_LOOT, cInfo->lootid,cInfo->pickpocketLootId,cInfo->SkinLootId);
PSendSysMessage(LANG_NPCINFO_DUNGEON_ID, target->GetInstanceId());
+ PSendSysMessage(LANG_NPCINFO_PHASEMASK, target->GetPhaseMask());
PSendSysMessage(LANG_NPCINFO_POSITION,float(target->GetPositionX()), float(target->GetPositionY()), float(target->GetPositionZ()));
if(const CreatureData* const linked = target->GetLinkedRespawnCreatureData())
if(CreatureInfo const *master = GetCreatureInfo(linked->id))