diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-02 15:35:05 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-02 15:35:05 -0400 |
commit | 0799a0377ad850ef5f140dfa6098302115548712 (patch) | |
tree | 483888f268174c57e4eca990b6883d8e30904454 /include | |
parent | 83532988dbc1ef4ea96afb9975c1872dba3494ad (diff) |
TPlyGuildCardTag: Fix compilation error in `_assign()`
Also makes it simpler too.
Diffstat (limited to 'include')
-rw-r--r-- | include/pso/TPlyGuildCardTag.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/pso/TPlyGuildCardTag.h b/include/pso/TPlyGuildCardTag.h index f10b8e4..815685d 100644 --- a/include/pso/TPlyGuildCardTag.h +++ b/include/pso/TPlyGuildCardTag.h @@ -22,10 +22,8 @@ public: PRIVATE_MEMBER_ACCESSORS(u32, guildcard_number); private: void _assign(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(); + m_tag = src.m_tag; + m_guildcard_number = src.m_guildcard_number; }; union { |