Call this function for each fruit object saved in the bones level: it marks * that particular type of fruit as existing (the marker is that that type's * ID is positive instead of negative). This way, when we later save the * chain of fruit types, we know to only save the types that exist. */
| 39 | * chain of fruit types, we know to only save the types that exist. |
| 40 | */ |
| 41 | staticfn void |
| 42 | goodfruit(int id) |
| 43 | { |
| 44 | struct fruit *f = fruit_from_indx(-id); |
| 45 | |
| 46 | if (f) |
| 47 | f->fid = id; |
| 48 | } |
| 49 | |
| 50 | staticfn void |
| 51 | resetobjs(struct obj *ochain, boolean restore) |
no test coverage detected