diff 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
line wrap: on
line diff
--- a/Player.cpp	Thu Feb 21 03:04:08 2013 +0200
+++ b/Player.cpp	Thu Feb 21 03:06:13 2013 +0200
@@ -4411,8 +4411,7 @@
 //----- (0048E6DC) --------------------------------------------------------
 unsigned int Player::GetBaseAge()
 {
-  return ((__int64)(pParty->uTimePlayed * 0.234375) / 60 / 60 / 24) / 7 / 4 / 12
-       - uBirthYear + 1168;
+  return ((__int64)(pParty->uTimePlayed * 0.234375) / 60 / 60 / 24) / 7 / 4 / 12 - uBirthYear + game_starting_year;
 }
 
 //----- (0048E72C) --------------------------------------------------------