|
@@ -916,7 +916,7 @@ DefineEngineStringlyVariadicMethod( SimSet, add, void, 3, 0,
|
|
|
if(obj)
|
|
|
object->addObject( obj );
|
|
|
else
|
|
|
- Con::printf("Set::add: Object \"%s\" doesn't exist", (const char*)argv[ i ] );
|
|
|
+ Con::printf("Set::add: Object \"%s\" doesn't exist to add to %s", (const char*)argv[ i ], object->getName() );
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -933,7 +933,7 @@ DefineEngineStringlyVariadicMethod( SimSet, remove, void, 3, 0,
|
|
|
if(obj && object->find(object->begin(),object->end(),obj) != object->end())
|
|
|
object->removeObject(obj);
|
|
|
else
|
|
|
- Con::printf("Set::remove: Object \"%s\" does not exist in set", (const char*)argv[i]);
|
|
|
+ Con::printf("Set::remove: Object \"%s\" does not exist in set %s", (const char*)argv[i], object->getName());
|
|
|
object->unlock();
|
|
|
}
|
|
|
}
|