mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-26 13:43:45 +00:00
fix
This commit is contained in:
parent
e019bd91fd
commit
bdb216bf7c
2 changed files with 2 additions and 1 deletions
|
@ -359,6 +359,7 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command)
|
||||||
return 0;
|
return 0;
|
||||||
case COMMAND_HAS_OBJECT_BEEN_DAMAGED_BY_WEAPON:
|
case COMMAND_HAS_OBJECT_BEEN_DAMAGED_BY_WEAPON:
|
||||||
{
|
{
|
||||||
|
CollectParameters(&m_nIp, 2);
|
||||||
CObject* pObject = CPools::GetObjectPool()->GetAt(GET_INTEGER_PARAM(0));
|
CObject* pObject = CPools::GetObjectPool()->GetAt(GET_INTEGER_PARAM(0));
|
||||||
bool result = false;
|
bool result = false;
|
||||||
if (!pObject) {
|
if (!pObject) {
|
||||||
|
|
|
@ -345,7 +345,7 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
|
||||||
#endif
|
#endif
|
||||||
//#define SIMPLIER_MISSIONS // apply simplifications from mobile
|
//#define SIMPLIER_MISSIONS // apply simplifications from mobile
|
||||||
#define USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
|
#define USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
|
||||||
#define SCRIPT_LOG_FILE_LEVEL 0 // 0 == no log, 1 == overwrite every frame, 2 == full log
|
#define SCRIPT_LOG_FILE_LEVEL 1 // 0 == no log, 1 == overwrite every frame, 2 == full log
|
||||||
|
|
||||||
#ifndef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
|
#ifndef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
|
||||||
#define USE_BASIC_SCRIPT_DEBUG_OUTPUT
|
#define USE_BASIC_SCRIPT_DEBUG_OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue