cout that should be cerr

This commit is contained in:
scrawl 2016-02-05 23:25:01 +01:00
parent 9e5225bb6f
commit a72af4a1a3

View file

@ -101,7 +101,7 @@ void MWWorld::LocalScripts::add (const std::string& scriptName, const Ptr& ptr)
for (std::list<std::pair<std::string, Ptr> >::iterator iter = mScripts.begin(); iter!=mScripts.end(); ++iter)
if (iter->second==ptr)
{
std::cout << "warning, tried to add local script twice for " << ptr.getCellRef().getRefId() << std::endl;
std::cerr << "warning, tried to add local script twice for " << ptr.getCellRef().getRefId() << std::endl;
remove(ptr);
break;
}