Navigation Menu

Skip to content

Commit

Permalink
Add missing prototype for CAN_SEE_OBJ.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonm committed Oct 10, 2015
1 parent 4fa949e commit 5a052f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions src/protos.h
Expand Up @@ -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);
Expand Down
9 changes: 0 additions & 9 deletions src/utility.c
Expand Up @@ -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)
Expand Down

0 comments on commit 5a052f3

Please sign in to comment.