test whether monster's wielded weapon is stuck to hand/paw/whatever */
| 1075 | |
| 1076 | /* test whether monster's wielded weapon is stuck to hand/paw/whatever */ |
| 1077 | boolean |
| 1078 | mwelded(struct obj *obj) |
| 1079 | { |
| 1080 | /* caller is responsible for making sure this is a monster's item */ |
| 1081 | if (obj && (obj->owornmask & W_WEP) && will_weld(obj)) |
| 1082 | return TRUE; |
| 1083 | return FALSE; |
| 1084 | } |
| 1085 | |
| 1086 | /*wield.c*/ |
no outgoing calls
no test coverage detected