mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-29 03:53:44 +00:00
small fix
This commit is contained in:
parent
63046894b0
commit
947f67dfb7
3 changed files with 4 additions and 4 deletions
|
@ -677,7 +677,7 @@ void CTheScripts::Process()
|
||||||
break;
|
break;
|
||||||
case MISSION_RETRY_STAGE_WAIT_FOR_MENU:
|
case MISSION_RETRY_STAGE_WAIT_FOR_MENU:
|
||||||
AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_USER;
|
AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_USER;
|
||||||
RetryMission(0, 0);
|
RetryMission(MISSION_RETRY_TYPE_SUGGEST_TO_PLAYER);
|
||||||
break;
|
break;
|
||||||
case MISSION_RETRY_STAGE_START_RESTARTING:
|
case MISSION_RETRY_STAGE_START_RESTARTING:
|
||||||
AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_TIMER_AFTER_RESTART;
|
AllowMissionReplay = MISSION_RETRY_STAGE_WAIT_FOR_TIMER_AFTER_RESTART;
|
||||||
|
|
|
@ -605,7 +605,7 @@ extern int missionRetryScriptIndex;
|
||||||
extern bool doingMissionRetry;
|
extern bool doingMissionRetry;
|
||||||
|
|
||||||
uint32 AddExtraDeathDelay();
|
uint32 AddExtraDeathDelay();
|
||||||
void RetryMission(int, int);
|
void RetryMission(int, int unk = 0);
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
MISSION_RETRY_TYPE_SUGGEST_TO_PLAYER = 0,
|
MISSION_RETRY_TYPE_SUGGEST_TO_PLAYER = 0,
|
||||||
|
|
|
@ -4175,7 +4175,7 @@ CMenuManager::Process(void)
|
||||||
if (m_nCurrScreen == MENUPAGE_LOADING_IN_PROGRESS) {
|
if (m_nCurrScreen == MENUPAGE_LOADING_IN_PROGRESS) {
|
||||||
#ifdef MISSION_REPLAY
|
#ifdef MISSION_REPLAY
|
||||||
if (doingMissionRetry) {
|
if (doingMissionRetry) {
|
||||||
RetryMission(2, 0);
|
RetryMission(MISSION_RETRY_TYPE_BEGIN_RESTARTING);
|
||||||
m_nCurrSaveSlot = SLOT_COUNT;
|
m_nCurrSaveSlot = SLOT_COUNT;
|
||||||
doingMissionRetry = false;
|
doingMissionRetry = false;
|
||||||
}
|
}
|
||||||
|
@ -5186,7 +5186,7 @@ CMenuManager::ProcessButtonPresses(void)
|
||||||
case MENUACTION_UNK114:
|
case MENUACTION_UNK114:
|
||||||
doingMissionRetry = false;
|
doingMissionRetry = false;
|
||||||
RequestFrontEndShutDown();
|
RequestFrontEndShutDown();
|
||||||
RetryMission(2, 0);
|
RetryMission(MISSION_RETRY_TYPE_BEGIN_RESTARTING);
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CUSTOM_FRONTEND_OPTIONS
|
#ifdef CUSTOM_FRONTEND_OPTIONS
|
||||||
|
|
Loading…
Reference in a new issue