| 712 | } |
| 713 | |
| 714 | int levelgoals::GoalGetDesc(int goal_index, char *desc, int buffer_size) { |
| 715 | if (goal_index < 0 || goal_index >= m_num_goals) |
| 716 | return -1; |
| 717 | |
| 718 | return m_goal[goal_index].GetDesc(desc, buffer_size); |
| 719 | } |
| 720 | |
| 721 | int levelgoals::GoalGetNumItems(int goal_index) { |
| 722 | if (goal_index < 0 || goal_index >= m_num_goals) |
no test coverage detected