aboutsummaryrefslogtreecommitdiff
path: root/src/game/TemporarySummon.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-18 14:17:11 +0200
committerQAston <none@none>2009-06-18 14:17:11 +0200
commit30d0b2ed5fd5eaf345f720bb1911946f5028be8a (patch)
tree4e9e5bd1ab5a3294ad0fccc2a2b238f033cfe29d /src/game/TemporarySummon.h
parent56620e0962c7f8bb42d9f9666e9ec6c33b4ab273 (diff)
*Fix raise dead spell - original patch by Astellar, thanks for some help in conversion for Azrael
*Correctly apply spell cooldown for spells with cooldown starting after pet unsummon. --HG-- branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.h')
-rw-r--r--src/game/TemporarySummon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/TemporarySummon.h b/src/game/TemporarySummon.h
index d6e532626ce..47961d714ec 100644
--- a/src/game/TemporarySummon.h
+++ b/src/game/TemporarySummon.h
@@ -54,6 +54,7 @@ class Minion : public TempSummon
void InitSummon();
void RemoveFromWorld();
Unit *GetOwner() { return m_owner; }
+ bool IsPetGhoul() const {return GetEntry() == 26125;} // Ghoul may be guardian or pet
protected:
Unit * const m_owner;
};