Browse Source

Added pidbug and mustSanitize fields to ServerProfile.

pull/3/head
JustinAJ 10 years ago
parent
commit
b9120a0e6b
  1. 11
      RenX.Core/RenX_ServerProfile.cpp
  2. 2
      RenX.Core/RenX_ServerProfile.h

11
RenX.Core/RenX_ServerProfile.cpp

@ -24,13 +24,11 @@ struct BaseProfile : RenX::ServerProfile
supported = true;
privateMessages = true;
disconnectOnGameOver = false;
pidbug = false;
mustSanitize = true;
}
};
struct IdealProfile : BaseProfile
{
} _idealProfile;
const RenX::ServerProfile *RenX::defaultProfile = &_idealProfile;
} _baseProfile;
const RenX::ServerProfile *RenX::defaultProfile = &_baseProfile;
struct OpenBeta1Profile : BaseProfile
{
@ -47,6 +45,7 @@ struct OpenBeta2Profile : BaseProfile
OpenBeta2Profile()
{
privateMessages = false;
pidbug = true;
}
} _openBeta2Profile;
const RenX::ServerProfile *RenX::openBeta2Profile = &_openBeta2Profile;

2
RenX.Core/RenX_ServerProfile.h

@ -35,6 +35,8 @@ namespace RenX
bool supported;
bool privateMessages;
bool disconnectOnGameOver;
bool pidbug;
bool mustSanitize;
};
RENX_API extern const ServerProfile *defaultProfile; /** Default server profile */

Loading…
Cancel
Save