mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 22:49:40 +00:00
[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";
|
plugin = "null";
|
||||||
val = 0;
|
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);
|
printWithWidth(sstr, checksumsResponse[i].first, pluginNameLen2 + 2);
|
||||||
if (checksumsResponse[i].second.size() > 0)
|
if (checksumsResponse[i].second.size() > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue