make $killcount work for units too
This commit is contained in:
@@ -77,6 +77,10 @@ struct PlayerInventoryItemT {
|
||||
ret.data.id.store_raw(phosg::bswap32(ret.data.id.load_raw()));
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool is_equipped() const {
|
||||
return (this->flags & 8);
|
||||
}
|
||||
} __attribute__((packed));
|
||||
using PlayerInventoryItem = PlayerInventoryItemT<false>;
|
||||
using PlayerInventoryItemBE = PlayerInventoryItemT<true>;
|
||||
|
||||
Reference in New Issue
Block a user