This commit is contained in:
Gray
2025-07-18 21:19:00 -04:00
parent 62ffdccd42
commit 658012ead8
13 changed files with 56 additions and 24 deletions

View File

@@ -31,9 +31,11 @@ public:
return ReadBitfieldValue(bCanBeDroppedOffset, bCanBeDroppedFieldMask);
}
int& GetDropCount()
int/*&*/ GetDropCount()
{
static auto DropCountOffset = GetOffset("DropCount");
static auto DropCountOffset = GetOffset("DropCount", false);
if (DropCountOffset == -1)
return 1;
return Get<int>(DropCountOffset);
}