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

@@ -18,27 +18,27 @@ private:
Path *path;
protected:
std::shared_ptr<Entity> attackTarget;
shared_ptr<Entity> attackTarget;
bool holdGround;
int fleeTime;
virtual bool shouldHoldGround();
virtual void serverAiStep();
virtual void findRandomStrollLocation(int quadrant = -1);
virtual void checkHurtTarget(std::shared_ptr<Entity> target, float d);
virtual void checkHurtTarget(shared_ptr<Entity> target, float d);
public:
virtual float getWalkTargetValue(int x, int y, int z);
protected:
virtual std::shared_ptr<Entity> findAttackTarget();
virtual shared_ptr<Entity> findAttackTarget();
public:
virtual bool canSpawn();
bool isPathFinding();
void setPath(Path *path);
std::shared_ptr<Entity> getAttackTarget();
void setAttackTarget(std::shared_ptr<Entity> attacker);
shared_ptr<Entity> getAttackTarget();
void setAttackTarget(shared_ptr<Entity> attacker);
protected:
float getWalkingSpeedModifier();