diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-06-27 21:42:38 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-06-27 21:42:38 +0200 |
commit | 146edd7571c86de7c580af6ac4db6bb9b85e5ba0 (patch) | |
tree | e7c020632a42d6fd2214d3844e1b25b557593ca0 | |
parent | 047922a4dd4f74c2a475935368bb15edea516e6f (diff) |
Remove SHOW_LIFE_RATE preprocessor define
-rw-r--r-- | src/birth.c | 16 | ||||
-rw-r--r-- | src/config.h | 3 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/birth.c b/src/birth.c index d8c4ef3f..09c6f08d 100644 --- a/src/birth.c +++ b/src/birth.c @@ -465,12 +465,6 @@ static void get_extra(void) { int i, j, min_value, max_value; -#ifdef SHOW_LIFE_RATE - - int percent; - -#endif - /* Level one */ p_ptr->max_plv = p_ptr->lev = 1; @@ -523,16 +517,6 @@ static void get_extra(void) p_ptr->tactic = 4; p_ptr->movement = 4; - -#ifdef SHOW_LIFE_RATE - - percent = (int)(((long)player_hp[PY_MAX_LEVEL - 1] * 200L) / - (p_ptr->hitdie + ((PY_MAX_LEVEL - 1) * p_ptr->hitdie))); - - msg_format("Current Life Rating is %d/100.", percent); - msg_print(NULL); - -#endif /* SHOW_LIFE_RATE */ } diff --git a/src/config.h b/src/config.h index 86e4f17f..f0be62da 100644 --- a/src/config.h +++ b/src/config.h @@ -242,9 +242,6 @@ /* ToME options: */ -/* Should the player know his / her starting life rate? */ -/* #define SHOW_LIFE_RATE */ - /* Allow hordes of 'similar' monsters */ #define MONSTER_HORDES |