Replace homebrew IABS() with C kubrary labs(3).
This commit is contained in:
parent
1445c7ebcc
commit
4d6078d8a8
5 changed files with 15 additions and 17 deletions
2
init.c
2
init.c
|
@ -184,7 +184,7 @@ static int finish_init(void) {
|
|||
ABB[I]=0;
|
||||
if(LTEXT[I] == 0 || KEY[I] == 0) goto L1102;
|
||||
K=KEY[I];
|
||||
if(MOD(IABS(TRAVEL[K]),1000) == 1)COND[I]=2;
|
||||
if(MOD(labs(TRAVEL[K]),1000) == 1)COND[I]=2;
|
||||
L1102: ATLOC[I]=0;
|
||||
} /* end loop */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue