X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fmapblock_mesh.h;h=7f52317383a02435930a98983e7525299f7667c4;hb=dec8c43de3afdbd2e257a031f5e053e7f1e74aa0;hp=021309d9931798442332a6aa56dd814d71dd85f0;hpb=062de11b4cff30861dd4e9eb56f131d821f34b51;p=oweals%2Fminetest.git diff --git a/src/mapblock_mesh.h b/src/mapblock_mesh.h index 021309d99..7f5231738 100644 --- a/src/mapblock_mesh.h +++ b/src/mapblock_mesh.h @@ -172,8 +172,8 @@ inline video::SColor MapBlock_LightColor(u8 alpha, u16 light, u8 light_source=0) } // Compute light at node -u16 getInteriorLight(MapNode n, s32 increment, MeshMakeData *data); -u16 getFaceLight(MapNode n, MapNode n2, v3s16 face_dir, MeshMakeData *data); +u16 getInteriorLight(MapNode n, s32 increment, INodeDefManager *ndef); +u16 getFaceLight(MapNode n, MapNode n2, v3s16 face_dir, INodeDefManager *ndef); u16 getSmoothLight(v3s16 p, v3s16 corner, MeshMakeData *data); // Retrieves the TileSpec of a face of a node