summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TPlyGuildCardTag.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pso/TPlyGuildCardTag.cpp b/src/pso/TPlyGuildCardTag.cpp
index e874485..61bed28 100644
--- a/src/pso/TPlyGuildCardTag.cpp
+++ b/src/pso/TPlyGuildCardTag.cpp
@@ -3,14 +3,14 @@
#include <global_types.h>
void TPlyGuildCardTag::bswap() {
- bswap_32(&guildcard_number);
- bswap_16(&tag.tag2);
+ bswap_32(&m_guildcard_number);
+ bswap_16(&m_tag.tag2);
}
TPlyGuildCardTag &TPlyGuildCardTag::operator=(const TPlyGuildCardTag &src) {
- tag.tag0 = src.tag.tag0;
- tag.tag1 = src.tag.tag1;
- tag.tag2 = src.tag.tag2;
- guildcard_number = src.guildcard_number;
+ 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;
}