Fix one more batch of compiler warnings.
A few of these were potential bugs.
This commit is contained in:
parent
3dfd8fd09b
commit
06cad9ee1e
14 changed files with 30 additions and 27 deletions
|
|
@ -955,9 +955,9 @@ wake_monster(int y, int x)
|
|||
*/
|
||||
|
||||
if (off(player, CANTRUESEE) &&
|
||||
on(*tp, ISINWALL) || on(*tp, CANSURPRISE) ||
|
||||
(on(*tp, ISSHADOW) && rnd(100) < 80) ||
|
||||
(on(*tp, ISINVIS) && off(player, CANSEE)))
|
||||
(on(*tp, ISINWALL) || on(*tp, CANSURPRISE) ||
|
||||
(on(*tp, ISSHADOW) && rnd(100) < 80) ||
|
||||
(on(*tp, ISINVIS) && off(player, CANSEE))))
|
||||
{
|
||||
/*
|
||||
TODO: incomplete - need to finish logic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue