diff options
-rw-r--r-- | src/game/Unit.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index ed921d85fa5..607e33d6219 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -258,9 +258,12 @@ Unit::~Unit() if(m_charmInfo) delete m_charmInfo; - sLog.outDetail("Deconstruct Unit Entry = %u", GetEntry()); - if(m_scAuras.size()) - sLog.outError("Unit %u has sc auras during deconstruction", GetEntry()); + if(m_uint32Values) + { + sLog.outDetail("Deconstruct Unit Entry = %u", GetEntry()); + if(m_scAuras.size()) + sLog.outError("Unit %u has sc auras during deconstruction", GetEntry()); + } } void Unit::Update( uint32 p_time ) |