19 |
|
#include "otypes.h" |
20 |
|
|
21 |
|
#ifndef OSTSIZ |
22 |
+ |
#ifdef BIGMEM |
23 |
+ |
#define OSTSIZ 56437 /* object table size (a prime!) */ |
24 |
+ |
#else |
25 |
|
#define OSTSIZ 12329 /* object table size (a prime!) */ |
26 |
|
#endif |
27 |
+ |
#endif |
28 |
|
|
29 |
|
static OBJECT *ostable[OSTSIZ]; /* the object set table */ |
30 |
|
|
199 |
|
if ((os = ostable[n]) == NULL) |
200 |
|
continue; |
201 |
|
while ((i = *os++) > 0) |
202 |
< |
while (i--) { |
203 |
< |
s = *os; |
204 |
< |
if (s >= orig && s < orig+nobjs && |
201 |
< |
!issurface(objptr(s)->otype)) |
202 |
> |
do |
203 |
> |
if ((s = *os++) >= orig && s < orig+nobjs && |
204 |
> |
ismodifier(objptr(s)->otype)) |
205 |
|
return(1); |
206 |
< |
os++; |
204 |
< |
} |
206 |
> |
while (--i); |
207 |
|
} |
208 |
|
return(0); |
209 |
|
} |