mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- restore cheats and cop difficulty after replays
This commit is contained in:
parent
eebc85a024
commit
d419f0b4ff
@ -121,6 +121,7 @@ void GameStart(void)
|
||||
{
|
||||
int oldVibrationMode;
|
||||
int SurvivalCopSettingsBackup;
|
||||
ACTIVE_CHEATS CheatsBackup;
|
||||
|
||||
if (GameType != GAME_CONTINUEMISSION &&
|
||||
GameType != GAME_MISSION &&
|
||||
@ -140,6 +141,7 @@ void GameStart(void)
|
||||
SsSetSerialVol(0, 0, 0);
|
||||
|
||||
SurvivalCopSettingsBackup = gCopDifficultyLevel;
|
||||
CheatsBackup = ActiveCheats;
|
||||
NewLevel = 1;
|
||||
|
||||
switch (GameType)
|
||||
@ -171,6 +173,9 @@ void GameStart(void)
|
||||
|
||||
gLoadedReplay = 0;
|
||||
gVibration = oldVibrationMode;
|
||||
|
||||
gCopDifficultyLevel = SurvivalCopSettingsBackup;
|
||||
ActiveCheats = CheatsBackup;
|
||||
}
|
||||
|
||||
break;
|
||||
@ -266,6 +271,9 @@ void GameStart(void)
|
||||
|
||||
gLoadedReplay = 0;
|
||||
|
||||
gCopDifficultyLevel = SurvivalCopSettingsBackup;
|
||||
ActiveCheats = CheatsBackup;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user