[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)
|
DWORD Party::UIDvarIntStub(char* dvar)
|
||||||
{
|
{
|
||||||
if (!_stricmp(dvar, "onlinegame"))
|
if (!_stricmp(dvar, "onlinegame") && !Stats::IsMaxLevel())
|
||||||
{
|
{
|
||||||
return 0x649E660;
|
return 0x649E660;
|
||||||
}
|
}
|
||||||
|
@ -12,8 +12,9 @@ namespace Components
|
|||||||
const char* getName() override { return "Stats"; };
|
const char* getName() override { return "Stats"; };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
|
||||||
static bool IsMaxLevel();
|
static bool IsMaxLevel();
|
||||||
|
|
||||||
|
private:
|
||||||
static void UpdateClasses(UIScript::Token token);
|
static void UpdateClasses(UIScript::Token token);
|
||||||
static void SendStats();
|
static void SendStats();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user