| 497 | |
| 498 | #ifndef SFCTOOL |
| 499 | staticfn void |
| 500 | ghostfruit(struct obj *otmp) |
| 501 | { |
| 502 | struct fruit *oldf; |
| 503 | |
| 504 | for (oldf = go.oldfruit; oldf; oldf = oldf->nextf) |
| 505 | if (oldf->fid == otmp->spe) |
| 506 | break; |
| 507 | |
| 508 | if (!oldf) |
| 509 | impossible("no old fruit?"); |
| 510 | else |
| 511 | otmp->spe = fruitadd(oldf->fname, (struct fruit *) 0); |
| 512 | } |
| 513 | #endif /* !SFCTOOL */ |
| 514 | |
| 515 | #ifdef SYSCF |
no test coverage detected