Revert "shared_ptr -> std::shared_ptr"

This reverts commit 7074f35e4b.
This commit is contained in:
void_17
2026-03-02 17:37:16 +07:00
parent 8a2a62ea1d
commit 119bff3514
1373 changed files with 12049 additions and 12049 deletions

View File

@@ -21,7 +21,7 @@ ThrownEgg::ThrownEgg(Level *level) : Throwable(level)
_init();
}
ThrownEgg::ThrownEgg(Level *level, std::shared_ptr<Mob> mob) : Throwable(level,mob)
ThrownEgg::ThrownEgg(Level *level, shared_ptr<Mob> mob) : Throwable(level,mob)
{
_init();
}
@@ -47,7 +47,7 @@ void ThrownEgg::onHit(HitResult *res)
if (random->nextInt(32) == 0) count = 4;
for (int i = 0; i < count; i++)
{
std::shared_ptr<Chicken> chicken = std::shared_ptr<Chicken>( new Chicken(level) );
shared_ptr<Chicken> chicken = shared_ptr<Chicken>( new Chicken(level) );
chicken->setAge(-20 * 60 * 20);
chicken->moveTo(x, y, z, yRot, 0);