diff options
author | est31 <MTest31@outlook.com> | 2015-06-20 00:30:38 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-20 02:59:53 +0200 |
commit | 40226e52747156cbdc5128a416480b226e498fff (patch) | |
tree | e0863a9c88f78bc578e7c8d60222c5f52dac81c5 /src/game.cpp | |
parent | 3b65a6a36c3e910359c69cd3e3e3fd89e50ba23e (diff) | |
download | minetest-40226e52747156cbdc5128a416480b226e498fff.tar.gz minetest-40226e52747156cbdc5128a416480b226e498fff.tar.bz2 minetest-40226e52747156cbdc5128a416480b226e498fff.zip |
Make attached objects visible in 3rd person view
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 903e4f85c..be4897d75 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -3298,6 +3298,7 @@ void Game::updateCamera(VolatileRunFlags *flags, u32 busy_time, camera->toggleCameraMode(); playercao->setVisible(camera->getCameraMode() > CAMERA_MODE_FIRST); + playercao->setChildrenVisible(camera->getCameraMode() > CAMERA_MODE_FIRST); } float full_punch_interval = playeritem_toolcap.full_punch_interval; |