mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Manually fix VS search and replace errors
This commit is contained in:
parent
47e22abbe9
commit
d33d1ced19
5 changed files with 6 additions and 6 deletions
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue