shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
This commit is contained in:
@@ -49,7 +49,7 @@ void PlayerCloudParticle::tick()
|
||||
xd *= 0.96f;
|
||||
yd *= 0.96f;
|
||||
zd *= 0.96f;
|
||||
shared_ptr<Player> p = level->getNearestPlayer(shared_from_this(), 2);
|
||||
std::shared_ptr<Player> p = level->getNearestPlayer(shared_from_this(), 2);
|
||||
if (p != NULL)
|
||||
{
|
||||
if (y > p->bb->y0)
|
||||
|
||||
Reference in New Issue
Block a user