diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-22 20:59:57 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-22 20:59:57 +0300 |
commit | bdb216bf7c7192d35c247831f1feaf5c61ebadd8 (patch) | |
tree | 01590fb745611f0e9a6d51d972ceaa4abf89a197 | |
parent | e019bd91fd15cd89cd8260e9d310355f71031cd0 (diff) |
fix
-rw-r--r-- | src/control/Script9.cpp | 1 | ||||
-rw-r--r-- | src/core/config.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/control/Script9.cpp b/src/control/Script9.cpp index 3ad8e180..c936e68f 100644 --- a/src/control/Script9.cpp +++ b/src/control/Script9.cpp @@ -359,6 +359,7 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command) return 0; case COMMAND_HAS_OBJECT_BEEN_DAMAGED_BY_WEAPON: { + CollectParameters(&m_nIp, 2); CObject* pObject = CPools::GetObjectPool()->GetAt(GET_INTEGER_PARAM(0)); bool result = false; if (!pObject) { diff --git a/src/core/config.h b/src/core/config.h index 9afdcc7f..07773543 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -345,7 +345,7 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually #endif //#define SIMPLIER_MISSIONS // apply simplifications from mobile #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 #define USE_BASIC_SCRIPT_DEBUG_OUTPUT |