diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-02 15:29:37 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-02 15:29:37 -0400 |
commit | 83532988dbc1ef4ea96afb9975c1872dba3494ad (patch) | |
tree | a90fe9bef71c449a0674c0931a23a3241923bbc3 /src/pso | |
parent | 7add9178473b74f5a922997d93bbca7d09e6a5c5 (diff) |
TMenuList, TPlyGuildCardTag: Actually match both classes
Didn't realize that `TMenuList`'s `operator=` was actually implicit.
Diffstat (limited to 'src/pso')
-rw-r--r-- | src/pso/TPlyGuildCardTag.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pso/TPlyGuildCardTag.cpp b/src/pso/TPlyGuildCardTag.cpp index 61bed28..d1341c5 100644 --- a/src/pso/TPlyGuildCardTag.cpp +++ b/src/pso/TPlyGuildCardTag.cpp @@ -7,10 +7,10 @@ void TPlyGuildCardTag::bswap() { bswap_16(&m_tag.tag2); } -TPlyGuildCardTag &TPlyGuildCardTag::operator=(const TPlyGuildCardTag &src) { - m_tag.tag0 = src.tag().tag0; - m_tag.tag1 = src.tag().tag1; - m_tag.tag2 = src.tag().tag2; - m_guildcard_number = src.guildcard_number(); - return *this; +void TPlyGuildCardTag::assign(const TPlyGuildCardTag &src) { + _assign(src); +} + +void TPlyGuildCardTag::assign(const TPlyGuildCardTag *src) { + _assign(*src); } |