mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 08:44:25 +00:00
Reset device rumble on exitlevel, exitgame, map
This commit is contained in:
parent
839f2a6d15
commit
a71c7dfad6
2 changed files with 6 additions and 0 deletions
|
|
@ -2898,6 +2898,8 @@ void CL_Reset(void)
|
|||
http_source[0] = '\0';
|
||||
#endif
|
||||
|
||||
G_ResetAllDeviceRumbles();
|
||||
|
||||
// D_StartTitle should get done now, but the calling function will handle it
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1571,6 +1571,8 @@ void G_DoLoadLevelEx(boolean resetplayer, gamestate_t newstate)
|
|||
{
|
||||
Automate_Run(AEV_ROUNDSTART);
|
||||
}
|
||||
|
||||
G_ResetAllDeviceRumbles();
|
||||
}
|
||||
|
||||
void G_DoLoadLevel(boolean resetplayer)
|
||||
|
|
@ -3197,6 +3199,8 @@ void G_AddPlayer(INT32 playernum)
|
|||
|
||||
void G_ExitLevel(void)
|
||||
{
|
||||
G_ResetAllDeviceRumbles();
|
||||
|
||||
if (gamestate == GS_LEVEL)
|
||||
{
|
||||
UINT8 i;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue