diff --git a/src/script/C4Value.h b/src/script/C4Value.h index caab35b6a..bb06222b7 100644 --- a/src/script/C4Value.h +++ b/src/script/C4Value.h @@ -258,7 +258,10 @@ ALWAYS_INLINE void C4Value::AddDataRef() #ifdef _DEBUG assert(C4PropList::PropLists.Has(Data.PropList)); if (!Data.PropList->Status) - { LogF("Warning: using ptr on deleted object %p (%s)!", static_cast(Data.PropList), Data.PropList->GetName()); } + { + LogF("Warning: using ptr on deleted object %p (%s)!", static_cast(Data.PropList), Data.PropList->GetName()); + AulExec.LogCallStack(); + } #endif Data.PropList->AddRef(this); break;