Commit 7ae64d4
committed
All: Fix loading map from command line in SP
map command unloads the UI VM and then cinematic command is processed.
Video is not displayed because UI VM is not loaded and input causes
error that UI VM is NULL. I changed it to use Quake 3 behavior of only
playing intro if there are no command line arguments. This does not
affect MP as there is no logo or intro video present.
Fixes running "iowolfsp.x86_64 +spmap escape1".1 parent ef829a9 commit 7ae64d4
2 files changed
+23
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2896 | 2896 | | |
2897 | 2897 | | |
2898 | 2898 | | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
2899 | 2910 | | |
2900 | 2911 | | |
2901 | 2912 | | |
| |||
2910 | 2921 | | |
2911 | 2922 | | |
2912 | 2923 | | |
2913 | | - | |
2914 | | - | |
2915 | | - | |
2916 | | - | |
2917 | | - | |
2918 | | - | |
2919 | | - | |
2920 | | - | |
2921 | | - | |
2922 | | - | |
2923 | | - | |
2924 | | - | |
2925 | 2924 | | |
2926 | 2925 | | |
2927 | 2926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2444 | 2444 | | |
2445 | 2445 | | |
2446 | 2446 | | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
2447 | 2459 | | |
2448 | 2460 | | |
2449 | 2461 | | |
| |||
2456 | 2468 | | |
2457 | 2469 | | |
2458 | 2470 | | |
2459 | | - | |
2460 | | - | |
2461 | | - | |
2462 | | - | |
2463 | | - | |
2464 | | - | |
2465 | | - | |
2466 | | - | |
2467 | | - | |
2468 | | - | |
2469 | | - | |
2470 | | - | |
2471 | | - | |
2472 | 2471 | | |
2473 | 2472 | | |
2474 | 2473 | | |
| |||
0 commit comments