Fix one more time the how water is lit.
Added ancildata and pseudo_ancildata to the renderstate. Added special case for water in rendermode_ligting_draw().
This commit is contained in:
@@ -70,6 +70,8 @@ typedef struct {
|
||||
/* the block position and type, and the block array */
|
||||
int x, y, z;
|
||||
unsigned char block;
|
||||
unsigned char block_data;
|
||||
unsigned char block_pdata;
|
||||
PyObject *blockdata_expanded;
|
||||
PyObject *blocks;
|
||||
PyObject *up_left_blocks;
|
||||
|
||||
Reference in New Issue
Block a user