| 744 | } |
| 745 | |
| 746 | unsigned int CBaseMenu::GetRealItemIndex(int client, unsigned int position) |
| 747 | { |
| 748 | if (client > 0 && position < m_RandomMaps[client].size()) |
| 749 | { |
| 750 | position = m_RandomMaps[client][position]; |
| 751 | return m_items[position].index; |
| 752 | } |
| 753 | |
| 754 | return position; |
| 755 | } |
| 756 | |
| 757 | unsigned int CBaseMenu::GetItemCount() |
| 758 | { |