From 2b9d03b267a3a11e6fc81d94423caaa852616fa8 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 13 Dec 2010 11:38:04 +0200 Subject: random stuff and different node lighting --- src/test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test.cpp') diff --git a/src/test.cpp b/src/test.cpp index 726930ce6..6d71566f4 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -461,7 +461,8 @@ struct TestMapBlock assert(b.getFaceLight(p, v3s16(0,-1,0)) == 0); // According to MapBlock::getFaceLight, // The face on the z+ side should have double-diminished light - assert(b.getFaceLight(p, v3s16(0,0,1)) == diminish_light(diminish_light(LIGHT_MAX))); + //assert(b.getFaceLight(p, v3s16(0,0,1)) == diminish_light(diminish_light(LIGHT_MAX))); + assert(b.getFaceLight(p, v3s16(0,0,1)) == diminish_light(LIGHT_MAX)); } /* Check how the block handles being in between blocks with some non-sunlight -- cgit v1.2.3