tuned water texture and removed two debug prints from server
authorPerttu Ahola <celeron55@gmail.com>
Sat, 2 Apr 2011 18:10:53 +0000 (21:10 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 2 Apr 2011 18:10:53 +0000 (21:10 +0300)
data/water.png
src/server.cpp

index 9657dbed7dd74ee9545422c54d3f2b942a145e6e..e5f8cdc25e9c48cc8307d470cc28e5ca268a3a4b 100644 (file)
Binary files a/data/water.png and b/data/water.png differ
index abdbd975d0a5683f29baf2d6adce9e5ee408685a..79600a44c1977e0541f26157443be2b3257062e2 100644 (file)
@@ -233,11 +233,11 @@ void * EmergeThread::Thread()
                        
                        if(lighting_invalidated_blocks.size() > 0)
                        {
-                               dstream<<"lighting "<<lighting_invalidated_blocks.size()
-                                               <<" blocks"<<std::endl;
+                               /*dstream<<"lighting "<<lighting_invalidated_blocks.size()
+                                               <<" blocks"<<std::endl;*/
                        
                                // 50-100ms for single block generation
-                               TimeTaker timer("** EmergeThread updateLighting");
+                               //TimeTaker timer("** EmergeThread updateLighting");
                                
                                // Update lighting without locking the environment mutex,
                                // add modified blocks to changed blocks