Permalink
Browse files

Add missing prototype for CAN_SEE_OBJ.

  • Loading branch information...
1 parent 4fa949e commit 5a052f3211e384823982a93a554f779984dfef3f @jonm committed Oct 10, 2015
Showing with 1 addition and 9 deletions.
  1. +1 −0 src/protos.h
  2. +0 −9 src/utility.c
View
@@ -1762,6 +1762,7 @@ int MIN(int a, int b);
int MAX(int a, int b);
int GetItemClassRestrictions(struct obj_data *obj);
int CAN_SEE(struct char_data *s, struct char_data *o);
+int CAN_SEE_OBJ(struct char_data *ch, struct obj_data *obj);
int exit_ok(struct room_direction_data *exit, struct room_data **rpp);
int MobVnum( struct char_data *c);
int ObjVnum( struct obj_data *o);
View
@@ -158,15 +158,6 @@ int CAN_SEE_OBJ( struct char_data *ch, struct obj_data *obj)
return(1);
-#if 0
-#define CAN_SEE_OBJ(sub, obj) \
- ( ( (!IS_NPC(sub)) && (GetMaxLevel(sub)>LOW_IMMORTAL)) || \
- ( (( !IS_SET((obj)->obj_flags.extra_flags, ITEM_INVISIBLE) || \
- IS_AFFECTED((sub),AFF_DETECT_INVISIBLE) ) && \
- !IS_AFFECTED((sub),AFF_BLIND)) && \
- (IS_LIGHT(sub->in_room))))
-
-#endif
}
int exit_ok(struct room_direction_data *exit, struct room_data **rpp)

0 comments on commit 5a052f3

Please sign in to comment.