| 4396 | } |
| 4397 | |
| 4398 | boolean |
| 4399 | check_capacity(const char *str) |
| 4400 | { |
| 4401 | if (near_capacity() >= EXT_ENCUMBER) { |
| 4402 | if (str) |
| 4403 | pline1(str); |
| 4404 | else |
| 4405 | You_cant("do that while carrying so much stuff."); |
| 4406 | return 1; |
| 4407 | } |
| 4408 | return 0; |
| 4409 | } |
| 4410 | |
| 4411 | struct weight_table_entry { |
| 4412 | unsigned wtyp; /* 1 = monst, 2 = obj */ |
no test coverage detected