Browse Source

Server::formatSteamID() now returns an empty string for id 0.

pull/3/head
JustinAJ 10 years ago
parent
commit
21a5c3687e
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 3
      RenX.Core/RenX_Server.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

3
RenX.Core/RenX_Server.cpp

@ -252,6 +252,9 @@ Jupiter::StringS RenX::Server::formatSteamID(const RenX::PlayerInfo *player) con
Jupiter::StringS RenX::Server::formatSteamID(uint64_t id) const Jupiter::StringS RenX::Server::formatSteamID(uint64_t id) const
{ {
if (id == 0)
return Jupiter::ReferenceString::empty;
switch (RenX::Server::steamFormat) switch (RenX::Server::steamFormat)
{ {
default: default:

Loading…
Cancel
Save