(tend_nxtitem,nxtitem,sarg_type,snxtitem,snxtitem_all,snxtsct,nxtitemp):
change NS_ALL to NS_EVERYTHING in ns_seltype because of a conflict with winsock2.h which is used in the WIN32 build.
This commit is contained in:
parent
9b56e4d5a0
commit
c99a5b4f43
7 changed files with 14 additions and 14 deletions
|
@ -41,7 +41,7 @@
|
|||
|
||||
/*
|
||||
* setup the nstr_sect structure for sector selection.
|
||||
* can select on either NS_ALL, NS_AREA, or NS_RANGE
|
||||
* can select on either NS_EVERYTHING, NS_AREA, or NS_RANGE
|
||||
* iterate thru the "condarg" string looking
|
||||
* for arguments to compile into the nstr.
|
||||
*/
|
||||
|
@ -74,7 +74,7 @@ snxtsct(struct nstr_sect *np, s_char *str)
|
|||
return 0;
|
||||
snxtsct_dist(np, cx, cy, dist);
|
||||
break;
|
||||
case NS_ALL:
|
||||
case NS_EVERYTHING:
|
||||
/* fake "all" by doing a world-sized area query */
|
||||
snxtsct_area(np, &wr);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue