mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 18:40:01 +00:00
cout that should be cerr
This commit is contained in:
parent
9e5225bb6f
commit
a72af4a1a3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user