summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-02 15:35:05 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-02 15:35:05 -0400
commit0799a0377ad850ef5f140dfa6098302115548712 (patch)
tree483888f268174c57e4eca990b6883d8e30904454 /include/pso
parent83532988dbc1ef4ea96afb9975c1872dba3494ad (diff)
TPlyGuildCardTag: Fix compilation error in `_assign()`
Also makes it simpler too.
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TPlyGuildCardTag.h6
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 {