[Party] Disable XP bar when maxlevel
This commit is contained in:
parent
3869272d4f
commit
e8b881ea53
@ -130,7 +130,7 @@ namespace Components
|
||||
|
||||
DWORD Party::UIDvarIntStub(char* dvar)
|
||||
{
|
||||
if (!_stricmp(dvar, "onlinegame"))
|
||||
if (!_stricmp(dvar, "onlinegame") && !Stats::IsMaxLevel())
|
||||
{
|
||||
return 0x649E660;
|
||||
}
|
||||
|
@ -12,8 +12,9 @@ namespace Components
|
||||
const char* getName() override { return "Stats"; };
|
||||
#endif
|
||||
|
||||
private:
|
||||
static bool IsMaxLevel();
|
||||
|
||||
private:
|
||||
static void UpdateClasses(UIScript::Token token);
|
||||
static void SendStats();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user