Page 1 of 1

BUG:FIXED Account age displays incorrectly

Posted: Wed Aug 09, 2017 9:08 am
by Ememjr
the account age displays incorreclty on the character sheet

Re: BUG: Account age displays incorrectly

Posted: Wed Aug 09, 2017 9:11 am
by Ememjr
identified the issue account_age in player.h , and where it is used in player.cpp has account_age as an int*, and it should be an int16
working on the fix and will update when i can

Re: BUG: Account age displays incorrectly

Posted: Wed Aug 09, 2017 2:22 pm
by Ememjr
here s the Fix
in player.h

Code: Select all

from void SetAccountAge(int8 days); to 
void SetAccountAge(int16 days);
in player.cpp

from

Code: Select all

void PlayerInfo::SetAccountAge(int8 age){
	info_struct->account_age_base = age;
}
to
void PlayerInfo::SetAccountAge(int16 age){
	info_struct->account_age_base = age;
}
in entity.h

from

Code: Select all

int8			account_age_base;
to
int16			account_age_base;

Re: BUG: Account age displays incorrectly

Posted: Sun Jun 24, 2018 9:34 pm
by Cynnar
Did this make it's way into the code?

Re: BUG: Account age displays incorrectly

Posted: Tue Jun 26, 2018 5:26 am
by Ememjr
not sure on this one