mirror of
https://github.com/halpz/re3.git
synced 2025-07-11 18:38:26 +00:00
colstore done
This commit is contained in:
@ -293,4 +293,6 @@ public:
|
||||
}
|
||||
static bool IsThisGarageTypeSafehouse(uint8 type) { return FindSafeHouseIndexForGarageType(type) >= 0; }
|
||||
|
||||
static void SetupAnyGaragesForThisIsland(void) {} // TODO(LCS)
|
||||
|
||||
};
|
||||
|
@ -485,7 +485,7 @@ public:
|
||||
static void SetObjectiveForAllPedsInCollective(int, eObjective);
|
||||
#endif
|
||||
|
||||
bool IsFortStauntonDestroyed() { return *(int32*)&ScriptSpace[FSDestroyedFlag] == 1; }
|
||||
static bool IsFortStauntonDestroyed() { return FSDestroyedFlag && *(int32*)&ScriptSpace[FSDestroyedFlag] == 1; }
|
||||
|
||||
};
|
||||
|
||||
|
@ -423,9 +423,10 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
|
||||
case COMMAND_REQUEST_COLLISION:
|
||||
{
|
||||
CollectParameters(&m_nIp, 2);
|
||||
CVector2D pos;
|
||||
CVector pos;
|
||||
pos.x = GET_FLOAT_PARAM(0);
|
||||
pos.y = GET_FLOAT_PARAM(1);
|
||||
pos.z = 0.0f;
|
||||
CColStore::RequestCollision(pos);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user