summaryrefslogtreecommitdiff
path: root/src/birth.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/birth.cc')
-rw-r--r--src/birth.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/birth.cc b/src/birth.cc
index 8d27c4e2..40e3eeea 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -723,10 +723,7 @@ static void player_wipe()
p_ptr->allow_one_death = 0;
/* Wipe the power list */
- for (std::size_t i = 0; i < POWER_MAX; i++)
- {
- p_ptr->powers_mod[i] = 0;
- }
+ p_ptr->powers_mod.clear();
/* No companions killed */
p_ptr->companion_killed = 0;