Merge remote-tracking branch 'origin/NetHack-3.6.0'
This commit is contained in:
10
src/bones.c
10
src/bones.c
@@ -48,14 +48,10 @@ STATIC_OVL void
|
||||
goodfruit(id)
|
||||
int id;
|
||||
{
|
||||
register struct fruit *f;
|
||||
struct fruit *f = fruit_from_indx(-id);
|
||||
|
||||
for (f = ffruit; f; f = f->nextf) {
|
||||
if (f->fid == -id) {
|
||||
f->fid = id;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (f)
|
||||
f->fid = id;
|
||||
}
|
||||
|
||||
STATIC_OVL void
|
||||
|
||||
Reference in New Issue
Block a user