aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-12-29 16:27:25 +0100
committerjackpoz <giacomopoz@gmail.com>2013-12-29 16:27:25 +0100
commite016ef3dbd51bc2262a9762ae7f9c1345a0f2ddc (patch)
treef1f23e88c6e7af223a757d62e4161582e6f96eb3 /src/server/scripts/Commands
parent90c63e48188b74c89ec36f7756590017cd52ad79 (diff)
parent0e0b00cab68994837b707f84e9ff95ebb0bd2da9 (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp
index d3e6f3e8430..433e8e5a66b 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -1382,7 +1382,10 @@ public:
}
else
{
+ Position pos;
+ transport->GetPosition(&pos);
handler->PSendSysMessage("Transport %s is %s", transport->GetName().c_str(), transport->GetGoState() == GO_STATE_READY ? "stopped" : "moving");
+ handler->PSendSysMessage("Transport position: %s", pos.ToString().c_str());
return true;
}