summaryrefslogtreecommitdiff
path: root/src/common/extract.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-03-15 14:00:55 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-03-15 14:00:55 -0700
commitde9ee1b9754af9d954487121947352f32d7ebb7e (patch)
tree1b4cc6ab2f418dcd4def88a740174ec56074f21b /src/common/extract.cpp
parent3c4f4f003d9fdbf759e42ced4fece8dd6a506298 (diff)
downloadtmwa-de9ee1b9754af9d954487121947352f32d7ebb7e.tar.gz
tmwa-de9ee1b9754af9d954487121947352f32d7ebb7e.tar.bz2
tmwa-de9ee1b9754af9d954487121947352f32d7ebb7e.tar.xz
tmwa-de9ee1b9754af9d954487121947352f32d7ebb7e.zip
Remove unused fields to shrink character struct
Diffstat (limited to 'src/common/extract.cpp')
-rw-r--r--src/common/extract.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/common/extract.cpp b/src/common/extract.cpp
index 5c07e24..378986d 100644
--- a/src/common/extract.cpp
+++ b/src/common/extract.cpp
@@ -44,19 +44,19 @@ bool extract(XString str, struct global_reg *var)
bool extract(XString str, struct item *it)
{
- it->broken = 0;
+ XString ignored;
return extract(str,
record<',', 11>(
&it->id,
&it->nameid,
&it->amount,
&it->equip,
- &it->identify,
- &it->refine,
- &it->attribute,
- &it->card[0],
- &it->card[1],
- &it->card[2],
- &it->card[3],
- &it->broken));
+ &ignored,
+ &ignored,
+ &ignored,
+ &ignored,
+ &ignored,
+ &ignored,
+ &ignored,
+ &ignored));
}