mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
[programming challenge] More fixes for paths. Logging AI name with PID in server logs.
This commit is contained in:
@ -76,8 +76,8 @@ template<typename rett>
|
||||
rett * createAnyAI(std::string dllname, std::string methodName)
|
||||
{
|
||||
tlog1 << "Opening " << dllname<<"\n";
|
||||
|
||||
if(vstd::contains(dllname, '/'))
|
||||
|
||||
if(vstd::contains(dllname, '/') || vstd::contains(dllname, '\\'))
|
||||
{
|
||||
tlog1 << "Assuming that AI is an absolute path.\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user