Manually fix VS search and replace errors

This commit is contained in:
Sezz 2024-06-06 11:15:43 +10:00
parent 47e22abbe9
commit d33d1ced19
5 changed files with 6 additions and 6 deletions

View file

@ -123,7 +123,7 @@ namespace TEN::Entities::Generic
if (!collObjects.Statics.empty())
return false;
for (const auto* itemPtr : collObjects.ItemPtrs)
for (const auto* itemPtr : collObjects.Items)
{
const auto& object = Objects[itemPtr->ObjectNumber];
@ -194,7 +194,7 @@ namespace TEN::Entities::Generic
if (!collObjects.Statics.empty())
return false;
for (const auto* itemPtr : collObjects.ItemPtrs)
for (const auto* itemPtr : collObjects.Items)
{
const auto& object = Objects[itemPtr->ObjectNumber];

View file

@ -114,7 +114,7 @@ namespace TEN::Entities::Traps
auto collObjects = GetCollidedObjects(item, true, true);
if (!collObjects.IsEmpty())
{
for (auto* itemPtr : collObjects.ItemPtrs)
for (auto* itemPtr : collObjects.Items)
{
const auto& object = Objects[itemPtr->ObjectNumber];

View file

@ -55,7 +55,7 @@ namespace TEN::Entities::Traps
auto collObjects = GetCollidedObjects(item, true, true);
if (!collObjects.IsEmpty())
{
for (auto* itemPtr : collObjects.ItemPtrs)
for (auto* itemPtr : collObjects.Items)
{
const auto& object = Objects[itemPtr->ObjectNumber];

View file

@ -132,7 +132,7 @@ void ExplosionControl(short itemNumber)
auto collObjects = GetCollidedObjects(*item, true, true, BLOCK(2), ObjectCollectionMode::All);
if (!collObjects.IsEmpty())
{
for (auto* itemPtr : collObjects.ItemPtrs)
for (auto* itemPtr : collObjects.Items)
{
if (itemPtr->ObjectNumber >= ID_SMASH_OBJECT1 && itemPtr->ObjectNumber <= ID_SMASH_OBJECT16)
{

View file

@ -184,7 +184,7 @@ void ObjectsHandler::TestCollidingObjects()
{
// Test against other moveables.
auto collObjects = GetCollidedObjects(item, true, false);
for (const auto& collidedItemPtr : collObjects.ItemPtrs)
for (const auto& collidedItemPtr : collObjects.Items)
g_GameScript->ExecuteFunction(item.Callbacks.OnObjectCollided, itemNumber0, collidedItemPtr->Index);
}