[sw,sw32] Ensure the particle system is initialized

This fixes the missing particles (because mtwist_rand was returning 0).
This commit is contained in:
Bill Currie 2021-12-19 01:28:37 +09:00
parent ce4bb1d56c
commit aacd2575d2
2 changed files with 2 additions and 0 deletions

View file

@ -131,6 +131,7 @@ sw_R_Init (void)
#endif #endif
R_InitTurb (); R_InitTurb ();
R_InitParticles ();
Cmd_AddCommand ("timerefresh", R_TimeRefresh_f, "Tests the current " Cmd_AddCommand ("timerefresh", R_TimeRefresh_f, "Tests the current "
"refresh rate for the current location"); "refresh rate for the current location");

View file

@ -151,6 +151,7 @@ sw32_R_Init (void)
sw32_Draw_Init (); sw32_Draw_Init ();
SCR_Init (); SCR_Init ();
sw32_R_InitTurb (); sw32_R_InitTurb ();
sw32_R_InitParticles ();
Cmd_AddCommand ("timerefresh", sw32_R_TimeRefresh_f, "Tests the current " Cmd_AddCommand ("timerefresh", sw32_R_TimeRefresh_f, "Tests the current "
"refresh rate for the current location"); "refresh rate for the current location");