Fix wield item glitch

This commit is contained in:
RealBadAngel 2016-01-18 06:08:54 +01:00 committed by paramat
parent 22bc66d3a7
commit 13e7589fec

@ -646,7 +646,7 @@ void Camera::drawWieldedTool(irr::core::matrix4* translation)
scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera(); scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera();
cam->setAspectRatio(m_cameranode->getAspectRatio()); cam->setAspectRatio(m_cameranode->getAspectRatio());
cam->setFOV(72.0*M_PI/180.0); cam->setFOV(72.0*M_PI/180.0);
cam->setNearValue(0.1); cam->setNearValue(10);
cam->setFarValue(1000); cam->setFarValue(1000);
if (translation != NULL) if (translation != NULL)
{ {