diff options
Diffstat (limited to 'src')
-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); } |