forked from teamnwah/openmw-tes3coop
[Client] Don't print null for missing plugins when comparing with server
This commit is contained in:
parent
c3c04bbfc3
commit
4294508082
1 changed files with 11 additions and 2 deletions
|
@ -92,8 +92,17 @@ string comparePlugins(PacketPreInit::PluginContainer checksums, PacketPreInit::P
|
|||
plugin = "null";
|
||||
val = 0;
|
||||
}
|
||||
printWithWidth(sstr, plugin, pluginNameLen1 + 2);
|
||||
printWithWidth(sstr, intToHexStr(val), 14);
|
||||
|
||||
if (plugin == "null")
|
||||
{
|
||||
printWithWidth(sstr, "", pluginNameLen1 + 16);
|
||||
}
|
||||
else
|
||||
{
|
||||
printWithWidth(sstr, plugin, pluginNameLen1 + 2);
|
||||
printWithWidth(sstr, intToHexStr(val), 14);
|
||||
}
|
||||
|
||||
printWithWidth(sstr, checksumsResponse[i].first, pluginNameLen2 + 2);
|
||||
if (checksumsResponse[i].second.size() > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue