summaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-10-14 01:26:03 -0400
committerkwolekr <kwolekr@minetest.net>2015-10-14 01:36:48 -0400
commit96cc5b34fe0151d2a1498eaaafb205757db346c4 (patch)
treee612a2d78086427cc5f555b82c597dcf9dd13b74 /src/environment.cpp
parent2139d7d45fb1a8ed250ad96c9975c581f02f72a9 (diff)
downloadminetest-96cc5b34fe0151d2a1498eaaafb205757db346c4.tar.gz
minetest-96cc5b34fe0151d2a1498eaaafb205757db346c4.tar.bz2
minetest-96cc5b34fe0151d2a1498eaaafb205757db346c4.zip
Use warningstream for log messages with WARNING
Remove DTIME macro and its uses, too
Diffstat (limited to 'src/environment.cpp')
-rw-r--r--src/environment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/environment.cpp b/src/environment.cpp
index a29b0aab1..59159868e 100644
--- a/src/environment.cpp
+++ b/src/environment.cpp
@@ -1188,7 +1188,7 @@ void ServerEnvironment::step(float dtime)
u32 time_ms = timer.stop(true);
u32 max_time_ms = 200;
if(time_ms > max_time_ms){
- infostream<<"WARNING: active block modifiers took "
+ warningstream<<"active block modifiers took "
<<time_ms<<"ms (longer than "
<<max_time_ms<<"ms)"<<std::endl;
m_active_block_interval_overload_skip = (time_ms / max_time_ms) + 1;
@@ -1910,7 +1910,7 @@ void ServerEnvironment::deactivateFarObjects(bool force_delete)
// reason. Unsuccessful attempts have been made to find
// said reason.
if(id && block->m_static_objects.m_active.find(id) != block->m_static_objects.m_active.end()){
- infostream<<"ServerEnv: WARNING: Performing hack #83274"
+ warningstream<<"ServerEnv: Performing hack #83274"
<<std::endl;
block->m_static_objects.remove(id);
}