mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 14:39:03 +00:00
more 1.1 patch
This commit is contained in:
parent
05ddc80ea2
commit
0b12cacf15
4 changed files with 21 additions and 3 deletions
2
librw
2
librw
|
@ -1 +1 @@
|
|||
Subproject commit 752fceb1e3c4ce06b6f20b9c4471927821469bf2
|
||||
Subproject commit 374f951d7cee353914059d8ddf9c5aff7d764984
|
|
@ -9649,6 +9649,16 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
|
|||
CPed::nEnterCarRangeMultiplier = (float)ScriptParams[0];
|
||||
#endif
|
||||
return 0;
|
||||
#endif
|
||||
#ifndef GTA3_1_1_PATCH
|
||||
case COMMAND_SET_THREAT_REACTION_RANGE_MULTIPLIER:
|
||||
CollectParameters(&m_nIp, 1);
|
||||
#ifdef FIX_BUGS
|
||||
CPed::nThreatReactionRangeMultiplier = *(float*)&ScriptParams[0];
|
||||
#else
|
||||
CPed::nThreatReactionRangeMultiplier = (float)ScriptParams[0];
|
||||
#endif
|
||||
return 0;
|
||||
#endif
|
||||
default:
|
||||
assert(0);
|
||||
|
|
|
@ -1156,5 +1156,8 @@ enum {
|
|||
COMMAND_IS_CHAR_LYING_DOWN,
|
||||
COMMAND_CAN_CHAR_SEE_DEAD_CHAR,
|
||||
COMMAND_SET_ENTER_CAR_RANGE_MULTIPLIER,
|
||||
#ifndef GTA3_1_1_PATCH
|
||||
COMMAND_SET_THREAT_REACTION_RANGE_MULTIPLIER
|
||||
#endif
|
||||
#endif
|
||||
};
|
|
@ -594,8 +594,9 @@ psInitialise(void)
|
|||
C_PcSave::SetSaveDirectory(_psGetUserFilesFolder());
|
||||
|
||||
InitialiseLanguage();
|
||||
|
||||
#ifndef GTA3_1_1_PATCH
|
||||
FrontEndMenuManager.LoadSettings();
|
||||
#endif
|
||||
|
||||
gGameState = GS_START_UP;
|
||||
TRACE("gGameState = GS_START_UP");
|
||||
|
@ -640,7 +641,11 @@ psInitialise(void)
|
|||
_dwOperatingSystemVersion = OS_WIN95;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
FrontEndMenuManager.LoadSettings();
|
||||
#endif
|
||||
|
||||
dwDXVersion = GetDXVersion();
|
||||
debug("DirectX version 0x%x\n", dwDXVersion);
|
||||
|
||||
|
|
Loading…
Reference in a new issue