CModel: Implement CModelFlags' operator!= in terms of operator==

Same behavior, less code.
This commit is contained in:
Lioncash 2019-10-26 14:58:35 -04:00
parent 18382e5bb6
commit 8f28786048
1 changed files with 1 additions and 4 deletions

View File

@ -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