MR-2: Auto-revert POS_FIGHTING after inactivity + Realtime character level updates + Macros removed

This commit is contained in:
Mind Rapist
2025-12-20 02:26:50 +02:00
parent b389e30db7
commit 337ce421c0
6 changed files with 4 additions and 44 deletions

View File

@@ -2048,6 +2048,7 @@ class CHARACTER : public CEntity, public CFSM, public CHorseRider
int m_iLastPMPulse;
int m_iPMCounter;
// tw1x1: POS_FIGHTING timer fix
public:
void EnterCombat();
void UpdateLastCombatTime() { m_dwLastCombatTime = get_dword_time(); }
@@ -2055,6 +2056,7 @@ class CHARACTER : public CEntity, public CFSM, public CHorseRider
private:
DWORD m_dwLastCombatTime;
// tw1x1: end
};
ESex GET_SEX(LPCHARACTER ch);