diff options
author | Manoj Srivastava <srivasta@debian.org> | 2020-05-27 16:31:00 -0700 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2020-05-27 16:31:00 -0700 |
commit | d7533e931cfb49a68dc8e6e3f524d49e364cef83 (patch) | |
tree | 06d31523b9647d3de8ce8888f6e83d24f046aa82 /src/joke.cc | |
parent | 4e9b9c402ed95bf9a17fd6d795bc49bb4128a6fa (diff) |
New upstream version 2.41-ah~0.git.20200131
Diffstat (limited to 'src/joke.cc')
-rw-r--r-- | src/joke.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/joke.cc b/src/joke.cc index 07149b3f..72bc403d 100644 --- a/src/joke.cc +++ b/src/joke.cc @@ -15,7 +15,7 @@ static void gen_joke_place_monster(int r_idx) int x = randint(cur_hgt - 4) + 2; int y = randint(cur_wid - 4) + 2; - if (place_monster_one(y, x, r_idx, 0, FALSE, MSTATUS_ENEMY)) + if (place_monster_one(y, x, r_idx, 0, false, MSTATUS_ENEMY)) { return; } @@ -30,11 +30,11 @@ bool gen_joke_monsters(void *data, void *in, void *out) (dun_level == 72)) { int r_idx = test_monster_name("Neil, the Sorceror"); - m_allow_special[r_idx] = TRUE; + m_allow_special[r_idx] = true; gen_joke_place_monster(r_idx); - m_allow_special[r_idx] = FALSE; + m_allow_special[r_idx] = false; } } - return FALSE; + return false; } |