185 |
|
{ |
186 |
|
int n; |
187 |
|
register OBJECT *os; |
188 |
< |
register OBJECT i, t; |
188 |
> |
register OBJECT i; |
189 |
|
|
190 |
|
for (n = 0; n < OSTSIZ; n++) { |
191 |
|
if ((os = ostable[n]) == NULL) |
192 |
|
continue; |
193 |
|
while ((i = *os++) > 0) |
194 |
|
while (i--) { |
195 |
< |
t = *os++; |
196 |
< |
if (t >= orig && t < orig+nobjs) { |
197 |
< |
t = objptr(t)->otype; |
198 |
< |
if (!issurface(t)) |
199 |
< |
return(1); |
200 |
< |
} |
195 |
> |
if (*os >= orig && *os < orig+nobjs && |
196 |
> |
!issurface(objptr(*os)->otype)) |
197 |
> |
return(1); |
198 |
> |
os++; |
199 |
|
} |
200 |
|
} |
201 |
|
return(0); |