Fix some warnings from clang's static code analyzer
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
* canseemon() or canspotmon() which already check that.
|
||||
*/
|
||||
#define see_with_infrared(mon) \
|
||||
(!Blind && Infravision && infravisible(mon->data) \
|
||||
(!Blind && Infravision && mon && infravisible(mon->data) \
|
||||
&& couldsee(mon->mx, mon->my))
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user