projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22bc66d
)
Fix wield item glitch
author
RealBadAngel
<maciej.kasatkin@o2.pl>
Mon, 18 Jan 2016 05:08:54 +0000
(06:08 +0100)
committer
paramat
<mat.gregory@virginmedia.com>
Mon, 18 Jan 2016 17:20:53 +0000
(17:20 +0000)
src/camera.cpp
patch
|
blob
|
history
diff --git
a/src/camera.cpp
b/src/camera.cpp
index 0b3413591d430eddc724a28bcaea1605d93829cd..94bbe9880386f9c16fc42d4ec85e371abc1d7aba 100644
(file)
--- a/
src/camera.cpp
+++ b/
src/camera.cpp
@@
-646,7
+646,7
@@
void Camera::drawWieldedTool(irr::core::matrix4* translation)
scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera();
cam->setAspectRatio(m_cameranode->getAspectRatio());
cam->setFOV(72.0*M_PI/180.0);
- cam->setNearValue(
0.1
);
+ cam->setNearValue(
10
);
cam->setFarValue(1000);
if (translation != NULL)
{