Use FLAGS64 for flagmasks

This commit is contained in:
Asdow
2025-08-08 17:42:25 +03:00
parent c78f8faefc
commit b7bfd8a2eb
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -566,11 +566,11 @@ UINT64 GetAvailableAttachmentPoint ( OBJECTTYPE * pObject, UINT8 subObject );
void CheckBombSpecifics( OBJECTTYPE * pObj, INT8* detonatortype, INT8* setting, INT8* defusefrequency );
// Flugente: check for specific flags
BOOLEAN HasItemFlag(UINT16 usItem, UINT64 aFlag);
BOOLEAN HasItemFlag2(UINT16 usItem, UINT64 aFlag);
BOOLEAN HasItemFlag(UINT16 usItem, FLAGS64 aFlag);
BOOLEAN HasItemFlag2(UINT16 usItem, FLAGS64 aFlag);
// Flugente: get first item number that has this flag. Use with caution, as we search in all items
BOOLEAN GetFirstItemWithFlag( UINT16* pusItem, UINT64 aFlag );
BOOLEAN GetFirstItemWithFlag( UINT16* pusItem, FLAGS64 aFlag );
// Flugente: check if this object is currently fed from an external source (belts in inventory, other mercs)
BOOLEAN ObjectIsBeingFedExternal(SOLDIERTYPE* pSoldier, OBJECTTYPE * pObject);