forked from teamnwah/openmw-tes3coop
[Client] Print plugin paths correctly for Windows
This commit is contained in:
parent
dff52d8fbe
commit
e7b5097c13
1 changed files with 2 additions and 2 deletions
|
@ -187,10 +187,10 @@ void Networking::preInit(std::vector<std::string> &content, Files::Collections &
|
||||||
unsigned int crc32 = Utils::crc32checksum(col.getPath(*it).string());
|
unsigned int crc32 = Utils::crc32checksum(col.getPath(*it).string());
|
||||||
checksums.push_back(make_pair(*it, crc32));
|
checksums.push_back(make_pair(*it, crc32));
|
||||||
|
|
||||||
printf("idx: %d\tchecksum: %X\tfile: %s\n", idx, crc32, col.getPath(*it).c_str());
|
printf("idx: %d\tchecksum: %X\tfile: %s\n", idx, crc32, col.getPath(*it).string().c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw std::runtime_error("Plugin doesn't exists.");
|
throw std::runtime_error("Plugin doesn't exist.");
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketPreInit packetPreInit(peer);
|
PacketPreInit packetPreInit(peer);
|
||||||
|
|
Loading…
Reference in a new issue