Commit 7b04d40
authored
Fix Seg Fault on Standalones with Safer Check for Secondaries (#4446)
Tests with standalone multiplayer builds revealed that the server would seg fault if a player tried to switch secondaries if the ship did not have secondaries. Tests with standalones showed this fixed the bug. Thanks to chief for the bug IDing and the fix code.1 parent cc2b9fc commit 7b04d40
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1924 | 1924 | | |
1925 | 1925 | | |
1926 | 1926 | | |
1927 | | - | |
1928 | | - | |
| 1927 | + | |
| 1928 | + | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | | - | |
1932 | 1931 | | |
| 1932 | + | |
1933 | 1933 | | |
1934 | 1934 | | |
1935 | 1935 | | |
| |||
0 commit comments