minor code cleanup

Mostly removing several trailing spaces.
This commit is contained in:
PatR
2022-08-11 03:55:17 -07:00
parent 1952050fae
commit dee099968e
+4 -7
View File
@@ -520,8 +520,7 @@ mind_blast(register struct monst* mtmp)
continue;
if (m2 == mtmp)
continue;
if ((telepathic(m2->data) && (rn2(2) || m2->mblinded))
|| !rn2(10)) {
if ((telepathic(m2->data) && (rn2(2) || m2->mblinded)) || !rn2(10)) {
/* wake it up first, to bring hidden monster out of hiding */
wakeup(m2, FALSE);
if (cansee(m2->mx, m2->my))
@@ -1857,11 +1856,9 @@ set_apparxy(register struct monst* mtmp)
* do cheapest and/or most likely tests first
*/
/* pet knows your smell; grabber still has hold of you */
if (mtmp->mtame || mtmp == u.ustuck ||
/* monsters which know where you are don't suddenly forget,
if you haven't moved away */
u_at(mx,my)) {
/* pet knows your smell; grabber still has hold of you; monsters which
know where you are don't suddenly forget, if you haven't moved away */
if (mtmp->mtame || mtmp == u.ustuck || u_at(mx, my)) {
mtmp->mux = u.ux;
mtmp->muy = u.uy;
return;