From db94a098a2d0f24489180ae5c03f22d62044e800 Mon Sep 17 00:00:00 2001 From: Mordred Date: Fri, 20 Jan 2023 12:49:20 +0100 Subject: [PATCH] Player state enum adjusted --- src/common/Common.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/common/Common.h b/src/common/Common.h index d5716fda..cc88aac7 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -1284,17 +1284,16 @@ namespace Sapphire::Common enum PlayerStateFlag : uint8_t { - HideUILockChar = 16, // as the name suggests, hides the ui and logs the char... - InCombat = 17, // in Combat, locks gearchange/return/teleport - Casting = 18, - InNpcEvent = 20, // when talking to an npc, locks ui giving "occupied" message + HideUILockChar = 1, // as the name suggests, hides the ui and logs the char... + InCombat = 2, // in Combat, locks gearchange/return/teleport + Casting = 3, + InNpcEvent = 6, // when talking to an npc, locks ui giving "occupied" message // InNpcEvent1 = 10, // Sent together with InNpcEvent, when waiting for input? just a guess... - BoundByDuty = 26, - BetweenAreas = 37, - WatchingCutscene = 49, // this is actually just a dummy, this id is different - + BoundByDuty = 10, + BetweenAreas = 21, + WatchingCutscene = 34, };