From 793d7bf8566d5a773bfb6109ec4e80069dcfd5c9 Mon Sep 17 00:00:00 2001 From: Azaezel Date: Mon, 22 Dec 2014 11:05:00 -0600 Subject: [PATCH] feedback for *which* namespace is already linked. should probably look into enhancing assertwarn to be able to take a formatted string at some point... --- Engine/source/console/simObject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engine/source/console/simObject.cpp b/Engine/source/console/simObject.cpp index 75de7980d..399a57f4b 100644 --- a/Engine/source/console/simObject.cpp +++ b/Engine/source/console/simObject.cpp @@ -1407,7 +1407,8 @@ void SimObject::linkNamespaces() // while still having the class namespace fields matching the current // setup. - AssertWarn( mNameSpace == NULL, "SimObject::linkNamespaces -- Namespace linkage already in place" ); + if (mNameSpace != NULL) + Con::warnf("SimObject::linkNamespaces -- Namespace linkage already in place %s", mNameSpace->getName()); if( mNameSpace ) return;