From de9ee1b9754af9d954487121947352f32d7ebb7e Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 15 Mar 2014 14:00:55 -0700 Subject: Remove unused fields to shrink character struct --- src/common/extract.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/common/extract.cpp') 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)); } -- cgit v1.2.3-70-g09d2