Revert "dynamic_pointer_cast -> std::dynamic_pointer_cast"
This reverts commit 07ad68bc15.
This commit is contained in:
@@ -56,7 +56,7 @@ UIScene_AnvilMenu::UIScene_AnvilMenu(int iPad, void *_initData, UILayer *parentL
|
||||
wchar_t temp[256];
|
||||
swprintf(temp, 256, costString, m_repairMenu->cost);
|
||||
m_costString = temp;
|
||||
if(!m_repairMenu->getSlot(RepairMenu::RESULT_SLOT)->mayPickup(std::dynamic_pointer_cast<Player>(m_inventory->player->shared_from_this())))
|
||||
if(!m_repairMenu->getSlot(RepairMenu::RESULT_SLOT)->mayPickup(dynamic_pointer_cast<Player>(m_inventory->player->shared_from_this())))
|
||||
{
|
||||
expensive = true;
|
||||
}
|
||||
@@ -395,6 +395,6 @@ void UIScene_AnvilMenu::handleDestroy()
|
||||
// another player destroyed the anvil, so shut down the keyboard if it is displayed
|
||||
#if ( defined __PS3__ || defined __ORBIS__ || defined _DURANGO)
|
||||
InputManager.DestroyKeyboard();
|
||||
#endif
|
||||
#endif
|
||||
UIScene_AbstractContainerMenu::handleDestroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user