gcc compilation warning bits
some rather complex boolean operations needed more parentheses to avoid warnings. I think I put them in the right places. A couple other items: naked assignments in if stmts, and an extra function decl
This commit is contained in:
@@ -370,9 +370,9 @@ do_pit: chasm = maketrap(x,y,PIT);
|
||||
exercise(A_DEX, TRUE);
|
||||
else
|
||||
selftouch((Upolyd &&
|
||||
slithy(youmonst.data) ||
|
||||
nolimbs(youmonst.data)) ?
|
||||
"Shaken, you" : "Falling down, you");
|
||||
(slithy(youmonst.data) ||
|
||||
nolimbs(youmonst.data))) ?
|
||||
"Shaken, you" : "Falling down, you");
|
||||
}
|
||||
} else newsym(x,y);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user