Commit 98de732
committed
fix crash in hud_get_custom_gauge()
The `Player_ship` variable can sometimes be NULL, especially in FRED, so revise the conditional to check for this.1 parent 45d9926 commit 98de732
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3908 | 3908 | | |
3909 | 3909 | | |
3910 | 3910 | | |
3911 | | - | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
3912 | 3914 | | |
3913 | 3915 | | |
3914 | 3916 | | |
| |||
0 commit comments