mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-26 17:51:50 +01:00
fixes
This commit is contained in:
parent
b9115b4429
commit
f8a509ffb3
@ -8712,6 +8712,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||||||
return 0;
|
return 0;
|
||||||
case COMMAND_PRINT_HELP:
|
case COMMAND_PRINT_HELP:
|
||||||
{
|
{
|
||||||
|
debug("PRINT_HELP %s\n", (char*)&CTheScripts::ScriptSpace[m_nIp]);
|
||||||
if (CCamera::m_bUseMouse3rdPerson && (
|
if (CCamera::m_bUseMouse3rdPerson && (
|
||||||
strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "HELP15", 7) == 0 ||
|
strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "HELP15", 7) == 0 ||
|
||||||
strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2A", 7) == 0 ||
|
strncmp((char*)&CTheScripts::ScriptSpace[m_nIp], "GUN_2A", 7) == 0 ||
|
||||||
@ -10149,7 +10150,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
|
|||||||
return 0;
|
return 0;
|
||||||
case COMMAND_SET_ENABLE_RC_DETONATE:
|
case COMMAND_SET_ENABLE_RC_DETONATE:
|
||||||
CollectParameters(&m_nIp, 1);
|
CollectParameters(&m_nIp, 1);
|
||||||
CVehicle::bDisableRemoteDetonation = ScriptParams[0];
|
CVehicle::bDisableRemoteDetonation = !ScriptParams[0];
|
||||||
return 0;
|
return 0;
|
||||||
case COMMAND_SET_CAR_RANDOM_ROUTE_SEED:
|
case COMMAND_SET_CAR_RANDOM_ROUTE_SEED:
|
||||||
{
|
{
|
||||||
@ -10690,7 +10691,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
|
|||||||
}
|
}
|
||||||
case COMMAND_HAS_OBJECT_COLLIDED_WITH_ANYTHING:
|
case COMMAND_HAS_OBJECT_COLLIDED_WITH_ANYTHING:
|
||||||
{
|
{
|
||||||
CollectParameters(&m_nIp, 2);
|
CollectParameters(&m_nIp, 1);
|
||||||
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
|
CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]);
|
||||||
assert(pObject);
|
assert(pObject);
|
||||||
UpdateCompareFlag(pObject->m_nCollisionRecords != 0);
|
UpdateCompareFlag(pObject->m_nCollisionRecords != 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user