diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-03-15 14:00:55 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-03-15 14:00:55 -0700 |
commit | de9ee1b9754af9d954487121947352f32d7ebb7e (patch) | |
tree | 1b4cc6ab2f418dcd4def88a740174ec56074f21b /src/common/extract.cpp | |
parent | 3c4f4f003d9fdbf759e42ced4fece8dd6a506298 (diff) | |
download | tmwa-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.cpp | 18 |
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)); } |