| 66 | }; |
| 67 | |
| 68 | int ObjIndex(int x, int y) |
| 69 | { |
| 70 | int i; |
| 71 | int oi; |
| 72 | |
| 73 | for (i = 0; i < nobjects; i++) { |
| 74 | oi = objectactive[i]; |
| 75 | if (object[oi]._ox == x && object[oi]._oy == y) |
| 76 | return oi; |
| 77 | } |
| 78 | app_fatal("ObjIndex: Active object not found at (%d,%d)", x, y); |
| 79 | return -1; |
| 80 | } |
| 81 | |
| 82 | #ifndef SPAWN |
| 83 | void AddSKingObjs() |
no test coverage detected