… | |
… | |
74 | refcnt_dec (); |
74 | refcnt_dec (); |
75 | } |
75 | } |
76 | |
76 | |
77 | //+GPL |
77 | //+GPL |
78 | |
78 | |
79 | /* |
79 | /* |
80 | * returns 1 if the player is in the region reg, or a child region thereof |
80 | * returns 1 if the player is in the region reg, or a child region thereof |
81 | * otherwise returns 0 |
81 | * otherwise returns 0 |
82 | * if passed a NULL region returns -1 |
82 | * if passed a NULL region returns -1 |
83 | */ |
83 | */ |
84 | static int |
84 | static int |
… | |
… | |
98 | |
98 | |
99 | return 0; |
99 | return 0; |
100 | } |
100 | } |
101 | |
101 | |
102 | /** Returns an object which is an exit through which the player represented by op should be |
102 | /** Returns an object which is an exit through which the player represented by op should be |
103 | * sent in order to be imprisoned. If there is no suitable place to which an exit can be |
103 | * sent in order to be imprisoned. If there is no suitable place to which an exit can be |
104 | * constructed, then NULL will be returned. The caller is responsible for freeing the object |
104 | * constructed, then NULL will be returned. The caller is responsible for freeing the object |
105 | * created by this function. |
105 | * created by this function. |
106 | */ |
106 | */ |
107 | object * |
107 | object * |
108 | get_jail_exit (object *op) |
108 | get_jail_exit (object *op) |