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:
@@ -18,7 +18,7 @@ bool TradeWithPlayerGoal::canUse()
|
||||
if (!mob->onGround) return false;
|
||||
if (mob->hurtMarked) return false;
|
||||
|
||||
shared_ptr<Player> trader = mob->getTradingPlayer();
|
||||
std::shared_ptr<Player> trader = mob->getTradingPlayer();
|
||||
if (trader == NULL)
|
||||
{
|
||||
// no interaction
|
||||
|
||||
Reference in New Issue
Block a user