Mercurial > hg > early-roguelike
comparison rogue4/potions.c @ 305:3900f3cfe07d
Rogue V4: fix arithmetic operations on boolean variables.
Monsters created by scrolls should now have their placement randomized
correctly again.
author | John "Elwin" Edwards |
---|---|
date | Thu, 15 Apr 2021 20:55:34 -0400 |
parents | 696277507a2e |
children |
comparison
equal
deleted
inserted
replaced
304:e52a8a7ad4c5 | 305:3900f3cfe07d |
---|---|
244 standout(); | 244 standout(); |
245 addch(mp->t_type); | 245 addch(mp->t_type); |
246 if (!can_see) | 246 if (!can_see) |
247 { | 247 { |
248 standend(); | 248 standend(); |
249 add_new++; | 249 add_new = TRUE; |
250 } | 250 } |
251 } | 251 } |
252 } | 252 } |
253 if (turn_off) | 253 if (turn_off) |
254 player.t_flags &= ~SEEMONST; | 254 player.t_flags &= ~SEEMONST; |