mirror of
https://github.com/halpz/re3.git
synced 2025-05-02 05:47:59 +03:00
remove autosave at end of mission under MISSION_REPLAY
This commit is contained in:
parent
5711251b0f
commit
f21cfef8fb
3 changed files with 4 additions and 2 deletions
|
@ -2696,8 +2696,10 @@ int8 CRunningScript::ProcessCommands0To99(int32 command)
|
|||
#ifdef MISSION_REPLAY
|
||||
if (m_bMissionFlag) {
|
||||
CPlayerInfo* pPlayerInfo = &CWorld::Players[CWorld::PlayerInFocus];
|
||||
#if 0 // makeing autosave is pointless and is a bit buggy
|
||||
if (pPlayerInfo->m_pPed->GetPedState() != PED_DEAD && pPlayerInfo->m_WBState == WBSTATE_PLAYING && !m_bDeatharrestExecuted)
|
||||
SaveGameForPause(1);
|
||||
#endif
|
||||
oldTargetX = oldTargetY = 0.0f;
|
||||
if (AllowMissionReplay == 1)
|
||||
AllowMissionReplay = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue