Silence some compiler warnings

This commit is contained in:
Pasi Kallinen
2016-06-21 14:14:54 +03:00
parent 9ff069ed19
commit d015cbec15
3 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@
|| ((ptr)->mlet == S_PUDDING && (ptr) != &mons[PM_BLACK_PUDDING]))
#define befriend_with_obj(ptr, obj) \
((obj)->oclass == FOOD_CLASS && is_domestic(ptr) \
(((obj)->oclass == FOOD_CLASS && is_domestic(ptr)) \
|| ((obj)->otyp == BANANA && \
((ptr) == &mons[PM_MONKEY] \
|| (ptr) == &mons[PM_APE])))