dynamic_pointer_cast -> std::dynamic_pointer_cast
This commit is contained in:
@@ -319,7 +319,7 @@ void ItemInHandRenderer::render(float a)
|
||||
float fudgeY = 0.0f;
|
||||
float fudgeZ = 0.0f;
|
||||
bool splitHoriz = false;
|
||||
std::shared_ptr<LocalPlayer> localPlayer = dynamic_pointer_cast<LocalPlayer>(player);
|
||||
std::shared_ptr<LocalPlayer> localPlayer = std::dynamic_pointer_cast<LocalPlayer>(player);
|
||||
if( localPlayer )
|
||||
{
|
||||
if( localPlayer->m_iScreenSection == C4JRender::VIEWPORT_TYPE_SPLIT_BOTTOM ||
|
||||
|
||||
Reference in New Issue
Block a user