| 1422 | } |
| 1423 | |
| 1424 | BOOL i_own_level(int nReqLevel) |
| 1425 | { |
| 1426 | int i; |
| 1427 | |
| 1428 | for (i = 0; i < MAX_PLRS; i++) { |
| 1429 | if (plr[i].plractive |
| 1430 | && !plr[i]._pLvlChanging |
| 1431 | && plr[i].plrlevel == nReqLevel |
| 1432 | && (i != myplr || !gbBufferMsgs)) |
| 1433 | break; |
| 1434 | } |
| 1435 | |
| 1436 | return i == myplr; |
| 1437 | } |
| 1438 | |
| 1439 | DWORD On_GETITEM(TCmd *pCmd, int pnum) |
| 1440 | { |
no outgoing calls
no test coverage detected