summaryrefslogtreecommitdiff
path: root/src/birth.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:25 +0100
committerBardur Arantsson <bardur@scientician.net>2019-02-15 19:20:25 +0100
commit8409efc6bcc6aa6a43a1aa35aec68e8797239e62 (patch)
tree1f607b0eaab12190155ab971303b223ee91b10be /src/birth.cc
parentc9ab40944b23aa1ae9f351a9bd55c6e0781c7576 (diff)
Apply clang-tidy modernize-use-bool-literals fix
Diffstat (limited to 'src/birth.cc')
-rw-r--r--src/birth.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/birth.cc b/src/birth.cc
index e303e6ab..cf2c3ab6 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -637,7 +637,7 @@ static void player_wipe()
{
auto k_ptr = k_entry.second;
k_ptr->aware = false;
- k_ptr->artifact = 0;
+ k_ptr->artifact = false;
}
@@ -675,7 +675,7 @@ static void player_wipe()
/* Assume no cheating */
noscore = 0;
- wizard = 0;
+ wizard = false;
/* Clear the fate */
for (std::size_t i = 0; i < MAX_FATES; i++)