mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Better null-tag handling; integrate CSaveWorld and CMapWorld loading
This commit is contained in:
@@ -19,7 +19,7 @@ struct SObjectTag
|
||||
{
|
||||
FourCC type;
|
||||
ResId id = -1;
|
||||
operator bool() const { return id != -1; }
|
||||
operator bool() const { return (id & 0xffffffff) != 0xffffffff; }
|
||||
bool operator!=(const SObjectTag& other) const { return id != other.id; }
|
||||
bool operator==(const SObjectTag& other) const { return id == other.id; }
|
||||
SObjectTag() = default;
|
||||
|
||||
Reference in New Issue
Block a user