Make all missions available when compiled with DEBUG.
This commit is contained in:
parent
92ca28bf3c
commit
345516814d
|
@ -470,6 +470,7 @@ Mission *getMission(char *filename)
|
||||||
|
|
||||||
int isMissionAvailable(Mission *mission, Mission *prev)
|
int isMissionAvailable(Mission *mission, Mission *prev)
|
||||||
{
|
{
|
||||||
|
#ifndef DEBUG
|
||||||
Mission *reqMission;
|
Mission *reqMission;
|
||||||
|
|
||||||
if (mission->requires)
|
if (mission->requires)
|
||||||
|
@ -488,6 +489,7 @@ int isMissionAvailable(Mission *mission, Mission *prev)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue