split long line

A source line being 190 characters wide is rather excessive.
This commit is contained in:
nethack.rankin
2002-03-13 07:40:47 +00:00
parent a6a209edea
commit 9084aebe11
+4 -1
View File
@@ -380,7 +380,10 @@ insert_branch(new_branch, extract_first)
new_branch->next = (branch *) 0; new_branch->next = (branch *) 0;
/* Convert the branch into a unique number so we can sort them. */ /* Convert the branch into a unique number so we can sort them. */
#define branch_val(bp) ((((long)(bp)->end1.dnum * (MAXLEVEL+1) + (long)(bp)->end1.dlevel) * (MAXDUNGEON+1) * (MAXLEVEL+1)) + ((long)(bp)->end2.dnum * (MAXLEVEL+1) + (long)(bp)->end2.dlevel)) #define branch_val(bp) \
((((long)(bp)->end1.dnum * (MAXLEVEL+1) + \
(long)(bp)->end1.dlevel) * (MAXDUNGEON+1) * (MAXLEVEL+1)) + \
((long)(bp)->end2.dnum * (MAXLEVEL+1) + (long)(bp)->end2.dlevel))
/* /*
* Insert the new branch into the correct place in the branch list. * Insert the new branch into the correct place in the branch list.