1
0
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:
Michał W. Urbańczyk
2011-12-09 23:09:21 +00:00
parent c0637f333d
commit 67571d5823
3 changed files with 3 additions and 5 deletions

View File

@ -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";
}