refactor: unglob std::shared_ptr

This commit is contained in:
Tropical
2026-03-06 11:20:45 -06:00
parent 0dd1654dec
commit 67ceccf2d4
1065 changed files with 5754 additions and 5749 deletions

View File

@@ -133,7 +133,7 @@ void CropTile::spawnResources(Level *level, int x, int y, int z, int data, float
for (int i = 0; i < count; i++)
{
if (level->random->nextInt(5 * 3) > data) continue;
popResource(level, x, y, z, shared_ptr<ItemInstance>(new ItemInstance(getBaseSeedId(), 1, 0)));
popResource(level, x, y, z, std::shared_ptr<ItemInstance>(new ItemInstance(getBaseSeedId(), 1, 0)));
}
}
}