Delete dead code, fix indentation, spelling, obvious warning
avoidance, doc fixes. No functional changes.
This commit is contained in:
parent
f5e49a830c
commit
d2e0c8224b
11 changed files with 23 additions and 24 deletions
|
@ -73,9 +73,10 @@ nstr_exec(struct nscstr *conds, register int ncond, void *ptr, int type)
|
|||
lhs = decode(player->cnum, nsc->fld1, ptr, type);
|
||||
|
||||
op = oper;
|
||||
if ((op == '<' && lhs >= rhs) ||
|
||||
(op == '=' && lhs != rhs) ||
|
||||
(op == '>' && lhs <= rhs) || (op == '#' && lhs == rhs))
|
||||
if ((op == '<' && lhs >= rhs)
|
||||
|| (op == '=' && lhs != rhs)
|
||||
|| (op == '>' && lhs <= rhs)
|
||||
|| (op == '#' && lhs == rhs))
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue