diff options
author | Matthew I <matttpt@gmail.com> | 2012-07-28 21:41:32 -0400 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-08-31 17:50:12 +0300 |
commit | 1d7408a7b866a8948e7913a7e8bac7d608f90fbb (patch) | |
tree | d2832d34ed983493677f6efe6adc3e54c0af7849 /src/player.cpp | |
parent | 0b1ab41a954e2a2b035888e200d775372a3b394e (diff) | |
download | minetest-1d7408a7b866a8948e7913a7e8bac7d608f90fbb.tar.gz minetest-1d7408a7b866a8948e7913a7e8bac7d608f90fbb.tar.bz2 minetest-1d7408a7b866a8948e7913a7e8bac7d608f90fbb.zip |
Fix black display inside opaque water
Opaque water's solidness was being set to 2, like a normal node.
When you swim, it is treated like a solid block, and the display
goes black. Setting it to 1 like transparent water allows you to
see.
It looks somewhat awkward when you swim, look up, and see an opaque
wall of water (the surface), but there isn't much that can be done
about it. If you made the water transparent so it looked good,
it would defeat the purpose :) .
Diffstat (limited to 'src/player.cpp')
0 files changed, 0 insertions, 0 deletions