mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: use correct format specifiers for edict_t
edict_t is an u16 and will always be as that is the type it uses in the engine itself.
This commit is contained in:
parent
eee6aed033
commit
03dd7046a6
@ -45,7 +45,7 @@ static void Host_Status_PrintClient(CClient* client, bool bShowAddress, void (*p
|
|||||||
|
|
||||||
if (nci != NULL)
|
if (nci != NULL)
|
||||||
{
|
{
|
||||||
print("# %i \"%s\" %llu %s %i %i %s %d\n",
|
print("# %hu \"%s\" %llu %s %i %i %s %d\n",
|
||||||
client->GetHandle(), client->GetServerName(), client->GetNucleusID(), COM_FormatSeconds(static_cast<int>(nci->GetTimeConnected())),
|
client->GetHandle(), client->GetServerName(), client->GetNucleusID(), COM_FormatSeconds(static_cast<int>(nci->GetTimeConnected())),
|
||||||
static_cast<int>(1000.0f * nci->GetAvgLatency(FLOW_OUTGOING)), static_cast<int>(100.0f * nci->GetAvgLoss(FLOW_INCOMING)), state, nci->GetDataRate());
|
static_cast<int>(1000.0f * nci->GetAvgLatency(FLOW_OUTGOING)), static_cast<int>(100.0f * nci->GetAvgLoss(FLOW_INCOMING)), state, nci->GetDataRate());
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ static void Host_Status_PrintClient(CClient* client, bool bShowAddress, void (*p
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print("#%2i \"%s\" %llu %s\n", client->GetHandle(), client->GetServerName(), client->GetNucleusID(), state);
|
print("#%2hu \"%s\" %llu %s\n", client->GetHandle(), client->GetServerName(), client->GetNucleusID(), state);
|
||||||
}
|
}
|
||||||
|
|
||||||
//print("\n");
|
//print("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user