fixes an infinite loop which was caused by d2x thinking d2demo was a descent 1 mission

This commit is contained in:
Bradley Bell 2002-12-24 06:09:05 +00:00
parent 883fbd973e
commit 95489e824b

View file

@ -1,4 +1,4 @@
/* $Id: mission.c,v 1.14 2002-10-10 19:11:23 btb Exp $ */
/* $Id: mission.c,v 1.15 2002-12-24 06:09:05 btb Exp $ */
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
@ -314,6 +314,8 @@ void add_builtin_mission_to_list(int *count)
}
strcpy(Builtin_mission_filename, Mission_list[*count].filename);
Mission_list[*count].descent_version = 2;
Mission_list[*count].anarchy_only_flag = 0;
++(*count);
}