fps fixed

This commit is contained in:
d1str4ught
2025-08-22 22:49:19 +02:00
parent 28ebb68c5a
commit 5c0fdf1a0b
3 changed files with 4 additions and 4 deletions

View File

@@ -5437,11 +5437,11 @@ bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)
PIXEL_POSITION pxPos = GetXYZ();
// Clear the variable, it looks the player does not dropped any item in the past second.
if (thecore_pulse() > LastDropTime + 25)
if (thecore_pulse() > LastDropTime + passes_per_sec)
CountDrops = 0;
// It looks the player dropped min. 4 items in the past 1 second
if (thecore_pulse() < LastDropTime + 25 && CountDrops >= 4)
if (thecore_pulse() < LastDropTime + passes_per_sec && CountDrops >= 4)
{
// Set it to 0
CountDrops = 0;