| 1910 | } |
| 1911 | |
| 1912 | int |
| 1913 | curr_mon_load(struct monst *mtmp) |
| 1914 | { |
| 1915 | int curload = 0; |
| 1916 | struct obj *obj; |
| 1917 | |
| 1918 | for (obj = mtmp->minvent; obj; obj = obj->nobj) { |
| 1919 | if (obj->otyp != BOULDER || !throws_rocks(mtmp->data)) |
| 1920 | curload += obj->owt; |
| 1921 | } |
| 1922 | |
| 1923 | return curload; |
| 1924 | } |
| 1925 | |
| 1926 | int |
| 1927 | max_mon_load(struct monst *mtmp) |
no outgoing calls
no test coverage detected