aboutsummaryrefslogtreecommitdiff
path: root/src/game/Chat.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-24 11:28:00 -0600
committermegamage <none@none>2009-01-24 11:28:00 -0600
commit30f6b38941e907c20dbb68f514eaf1345082abd3 (patch)
tree883bbfd30c30a2ea093f07fe7195a5d74a7bc2a0 /src/game/Chat.cpp
parentf0ebb960642ad0fa43fa49fd3cc76f6516de6cd3 (diff)
*Update to Mangos 7158.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r--src/game/Chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp
index 974a718b15e..09eb5594f62 100644
--- a/src/game/Chat.cpp
+++ b/src/game/Chat.cpp
@@ -1154,7 +1154,7 @@ Creature* ChatHandler::getSelectedCreature()
if(!m_session)
return NULL;
- return ObjectAccessor::GetCreatureOrPet(*m_session->GetPlayer(),m_session->GetPlayer()->GetSelection());
+ return ObjectAccessor::GetCreatureOrPetOrVehicle(*m_session->GetPlayer(),m_session->GetPlayer()->GetSelection());
}
char* ChatHandler::extractKeyFromLink(char* text, char const* linkType, char** something1)