Commit 6b9dacb
committed
more fixes for the skip-training-mission crash
Certain campaign-related functions would run even when the game was not in campaign mode (e.g. when playing in the tech room). Normally these would be benign, but with a new pilot or with a skipped mission, the current campaign mission would be -1 and a crash would occur.
Should fully fix #4412.1 parent b326980 commit 6b9dacb
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
954 | 957 | | |
955 | 958 | | |
956 | 959 | | |
| |||
1027 | 1030 | | |
1028 | 1031 | | |
1029 | 1032 | | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
1030 | 1036 | | |
1031 | 1037 | | |
1032 | 1038 | | |
| |||
1092 | 1098 | | |
1093 | 1099 | | |
1094 | 1100 | | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1095 | 1104 | | |
1096 | 1105 | | |
1097 | 1106 | | |
| |||
1891 | 1900 | | |
1892 | 1901 | | |
1893 | 1902 | | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
1898 | | - | |
1899 | | - | |
| 1903 | + | |
| 1904 | + | |
1900 | 1905 | | |
1901 | 1906 | | |
1902 | 1907 | | |
| |||
0 commit comments