Harden item pickup validation
Some checks failed
build / Linux asan (push) Has been cancelled
build / Linux release (push) Has been cancelled
build / FreeBSD build (push) Has been cancelled

This commit is contained in:
server
2026-04-16 12:08:31 +02:00
parent 2e6140abce
commit 819bf0b823
4 changed files with 132 additions and 81 deletions

View File

@@ -2049,6 +2049,8 @@ class CHARACTER : public CEntity, public CFSM, public CHorseRider
public:
int LastDropTime;
int CountDrops;
DWORD m_dwPickupWindowStart;
int m_iPickupWindowCount;
void ClearPMCounter(void) { m_iPMCounter = 0; }
void IncreasePMCounter(void) { m_iPMCounter++; }
void SetLastPMPulse(void);