| 287 | } |
| 288 | |
| 289 | bool CGameTask::HasInProgressObjective() |
| 290 | { |
| 291 | for (u32 i = 1; i < m_Objectives.size(); ++i) |
| 292 | if (m_Objectives[i].TaskState() == eTaskStateInProgress) |
| 293 | return true; |
| 294 | return false; |
| 295 | } |
| 296 | |
| 297 | SGameTaskObjective::SGameTaskObjective(CGameTask* parent, int _idx) |
| 298 | : description(NULL), article_id(NULL), map_location(NULL), object_id(u16(-1)), task_state(eTaskStateInProgress), def_location_enabled(true), parent(parent), idx(_idx) |
no test coverage detected