summaryrefslogtreecommitdiff
path: root/src/xtra1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-22 21:19:32 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:09:35 +0100
commitbd77f03d382725f540bb70b546dfc3f8cb3eb8be (patch)
tree9f5ce92e322f9a72673a9f4a8b2e14c4f3faad82 /src/xtra1.cc
parentbc77660df705f46e55c8c733a924c5cc85dcdc48 (diff)
Enable "maxmize stats" permanently
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r--src/xtra1.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc
index 01d010fa..e819cbfb 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -3049,15 +3049,11 @@ void calc_bonuses(bool_ silent)
/* The extra flags */
apply_flags(p_ptr->xtra_f1, p_ptr->xtra_f2, p_ptr->xtra_f3, p_ptr->xtra_f4, p_ptr->xtra_f5, p_ptr->xtra_esp, 0, 0, 0, 0, 0);
- /* Hack -- apply racial/class stat maxes */
- if (p_ptr->maximize)
+ /* Apply the racial modifiers */
+ for (i = 0; i < 6; i++)
{
- /* Apply the racial modifiers */
- for (i = 0; i < 6; i++)
- {
- /* Modify the stats for "race" */
- p_ptr->stat_add[i] += (rp_ptr->r_adj[i] + rmp_ptr->r_adj[i] + cp_ptr->c_adj[i]);
- }
+ /* Modify the stats for "race" */
+ p_ptr->stat_add[i] += (rp_ptr->r_adj[i] + rmp_ptr->r_adj[i] + cp_ptr->c_adj[i]);
}