| 905 | #endif |
| 906 | |
| 907 | void DeleteObject_(int oi, int i) |
| 908 | { |
| 909 | int ox, oy; |
| 910 | |
| 911 | ox = object[oi]._ox; |
| 912 | oy = object[oi]._oy; |
| 913 | dObject[ox][oy] = 0; |
| 914 | objectavail[-nobjects + MAXOBJECTS] = oi; |
| 915 | nobjects--; |
| 916 | if (nobjects > 0 && i != nobjects) |
| 917 | objectactive[i] = objectactive[nobjects]; |
| 918 | } |
| 919 | |
| 920 | void SetupObject(int i, int x, int y, int ot) |
| 921 | { |