suppress "set but not used" warning if no soundlib
This commit is contained in:
@@ -464,6 +464,9 @@ yelp(register struct monst* mtmp)
|
|||||||
nomul(0);
|
nomul(0);
|
||||||
wake_nearto(mtmp->mx, mtmp->my, mtmp->data->mlevel * 12);
|
wake_nearto(mtmp->mx, mtmp->my, mtmp->data->mlevel * 12);
|
||||||
}
|
}
|
||||||
|
#ifndef SND_LIB_INTEGRATED
|
||||||
|
nhUse(se);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the sounds of distressed pets */
|
/* the sounds of distressed pets */
|
||||||
@@ -501,6 +504,9 @@ whimper(register struct monst* mtmp)
|
|||||||
nomul(0);
|
nomul(0);
|
||||||
wake_nearto(mtmp->mx, mtmp->my, mtmp->data->mlevel * 6);
|
wake_nearto(mtmp->mx, mtmp->my, mtmp->data->mlevel * 6);
|
||||||
}
|
}
|
||||||
|
#ifndef SND_LIB_INTEGRATED
|
||||||
|
nhUse(se);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pet makes "I'm hungry" noises */
|
/* pet makes "I'm hungry" noises */
|
||||||
|
|||||||
Reference in New Issue
Block a user