diff options
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 26344480c8d..6a8515480c7 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1386,7 +1386,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject Player* GetSpellModOwner() const; - Unit* GetOwner() const; + Unit* GetOwner(bool inWorld = true) const; Guardian *GetGuardianPet() const; Minion *GetFirstMinion() const; Unit* GetCharmer() const; @@ -1820,6 +1820,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject virtual float GetFollowAngle() const { return M_PI/2; } void OutDebugInfo(); + virtual bool isBeingLoaded() const { return false;} protected: explicit Unit (); |