46 |
|
{ |
47 |
|
register int i; |
48 |
|
|
49 |
< |
for (i = (*os++)--; i > 0 && *os < obj; i--, os++) |
50 |
< |
; |
49 |
> |
i = (*os)--; |
50 |
> |
os++; |
51 |
> |
while (i > 0 && *os < obj) { |
52 |
> |
i--; |
53 |
> |
os++; |
54 |
> |
} |
55 |
|
while (--i > 0) { |
56 |
|
os[0] = os[1]; |
57 |
|
os++; |
189 |
|
{ |
190 |
|
int n; |
191 |
|
register OBJECT *os; |
192 |
< |
register OBJECT i, t; |
192 |
> |
register OBJECT i, s; |
193 |
|
|
194 |
|
for (n = 0; n < OSTSIZ; n++) { |
195 |
|
if ((os = ostable[n]) == NULL) |
196 |
|
continue; |
197 |
|
while ((i = *os++) > 0) |
198 |
|
while (i--) { |
199 |
< |
t = *os++; |
200 |
< |
if (t >= orig && t < orig+nobjs) { |
201 |
< |
t = objptr(t)->otype; |
202 |
< |
if (!issurface(t)) |
203 |
< |
return(1); |
200 |
< |
} |
199 |
> |
s = *os; |
200 |
> |
if (s >= orig && s < orig+nobjs && |
201 |
> |
!issurface(objptr(s)->otype)) |
202 |
> |
return(1); |
203 |
> |
os++; |
204 |
|
} |
205 |
|
} |
206 |
|
return(0); |