diff options
author | Kahrl <kahrl@gmx.net> | 2011-09-21 01:42:52 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2011-09-21 01:42:52 +0200 |
commit | 36af9bb027ed6846227282587e3414ea3d30f6c5 (patch) | |
tree | 1c9aed78e1ce2899ae6c7997989be86a376d2582 /src/game.cpp | |
parent | 6599002149f58c03b807cd1378ec17278dbdc09d (diff) | |
download | hax-minetest-server-36af9bb027ed6846227282587e3414ea3d30f6c5.tar.gz hax-minetest-server-36af9bb027ed6846227282587e3414ea3d30f6c5.zip |
Create a separate scene manager for the wielded tool. This fixes the glitchyness in large map coordinates and some depth buffer problems. (The tool doesn't bob anymore when walking, this will be fixed later.) Fix MSVC build (thanks to dannydark).
Diffstat (limited to '')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 08bc6f176..a99662651 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2162,6 +2162,14 @@ void the_game( } /* + Wielded tool + */ + { + // Warning: This clears the Z buffer. + camera.drawWieldedTool(); + } + + /* Post effects */ { |