diff options
Diffstat (limited to 'nexus/archdefs.h')
-rw-r--r-- | nexus/archdefs.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nexus/archdefs.h b/nexus/archdefs.h index 8709cc9c..903386bf 100644 --- a/nexus/archdefs.h +++ b/nexus/archdefs.h @@ -136,8 +136,14 @@ struct DecalId int32_t index = -1; bool active = false; - bool operator==(const DecalId &other) const { return (type == other.type) && (index == other.index); } - bool operator!=(const DecalId &other) const { return (type != other.type) || (index != other.index); } + bool operator==(const DecalId &other) const + { + return (type == other.type) && (index == other.index) && (active == other.active); + } + bool operator!=(const DecalId &other) const + { + return (type != other.type) || (index != other.index) || (active != other.active); + } }; struct ArchNetInfo |