comparison Player.cpp @ 352:ec6cc5cefa4b

Game starting age (1168) moved to a variable
author Nomad
date Thu, 21 Feb 2013 03:06:13 +0200
parents d27e30e0158a
children 95be2dcecadf
comparison
equal deleted inserted replaced
351:5f36449527c6 352:ec6cc5cefa4b
4409 } 4409 }
4410 4410
4411 //----- (0048E6DC) -------------------------------------------------------- 4411 //----- (0048E6DC) --------------------------------------------------------
4412 unsigned int Player::GetBaseAge() 4412 unsigned int Player::GetBaseAge()
4413 { 4413 {
4414 return ((__int64)(pParty->uTimePlayed * 0.234375) / 60 / 60 / 24) / 7 / 4 / 12 4414 return ((__int64)(pParty->uTimePlayed * 0.234375) / 60 / 60 / 24) / 7 / 4 / 12 - uBirthYear + game_starting_year;
4415 - uBirthYear + 1168;
4416 } 4415 }
4417 4416
4418 //----- (0048E72C) -------------------------------------------------------- 4417 //----- (0048E72C) --------------------------------------------------------
4419 unsigned int Player::GetActualAge() 4418 unsigned int Player::GetActualAge()
4420 { 4419 {