aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Level3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 82b80548d03..fdcd0f267db 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -6188,7 +6188,7 @@ bool ChatHandler::HandleRespawnCommand(const char* /*args*/)
Unit* target = getSelectedUnit();
if(pl->GetSelection() && target)
{
- if(target->GetTypeId()!=TYPEID_UNIT)
+ if(target->GetTypeId()!=TYPEID_UNIT || target->isPet())
{
SendSysMessage(LANG_SELECT_CREATURE);
SetSentErrorMessage(true);