mirror of https://github.com/AxioDL/metaforce.git
CModel: Implement CModelFlags' operator!= in terms of operator==
Same behavior, less code.
This commit is contained in:
parent
18382e5bb6
commit
8f28786048
|
@ -58,10 +58,7 @@ struct CModelFlags {
|
||||||
x4_color == other.x4_color;
|
x4_color == other.x4_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator!=(const CModelFlags& other) const {
|
bool operator!=(const CModelFlags& other) const { return !operator==(other); }
|
||||||
return x0_blendMode != other.x0_blendMode || x1_matSetIdx != other.x1_matSetIdx || x2_flags != other.x2_flags ||
|
|
||||||
x4_color != other.x4_color;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* urde addition: doesn't require hacky stashing of
|
/* urde addition: doesn't require hacky stashing of
|
||||||
|
|
Loading…
Reference in New Issue