Allow level progressing if playing the builtin mission with EDITOR compiled - only exit if Current_level_num is 0
This commit is contained in:
parent
fa76bc657e
commit
a5f9d3933d
|
@ -1,5 +1,9 @@
|
||||||
D1X-Rebirth Changelog
|
D1X-Rebirth Changelog
|
||||||
|
|
||||||
|
20120417
|
||||||
|
--------
|
||||||
|
main/gameseq.c: Allow level progressing if playing the builtin mission with EDITOR compiled - only exit if Current_level_num is 0
|
||||||
|
|
||||||
20120416
|
20120416
|
||||||
--------
|
--------
|
||||||
main/gameseq.c, main/multi.c, main/multi.h: fixed two bugs caused by recent Multiplayer cleanup: Set more player-death-related veriables outside of dead_player_end() when creating new ship as not covered in subfunction is Palyer_is_dead is not true; also init my own inventory properly in multi_prep_level to get our inventory straight after receiving netgame information
|
main/gameseq.c, main/multi.c, main/multi.h: fixed two bugs caused by recent Multiplayer cleanup: Set more player-death-related veriables outside of dead_player_end() when creating new ship as not covered in subfunction is Palyer_is_dead is not true; also init my own inventory properly in multi_prep_level to get our inventory straight after receiving netgame information
|
||||||
|
|
|
@ -935,9 +935,9 @@ int AdvanceLevel(int secret_flag)
|
||||||
Control_center_destroyed = 0;
|
Control_center_destroyed = 0;
|
||||||
|
|
||||||
#ifdef EDITOR
|
#ifdef EDITOR
|
||||||
if (PLAYING_BUILTIN_MISSION)
|
if (Current_level_num == 0)
|
||||||
{
|
{
|
||||||
return 0; //not a real level
|
return 1; //not a real level
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue