From 96cc5b34fe0151d2a1498eaaafb205757db346c4 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 14 Oct 2015 01:26:03 -0400 Subject: Use warningstream for log messages with WARNING Remove DTIME macro and its uses, too --- src/mapblock.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/mapblock.cpp') diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 942457407..be16c3bb7 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -707,7 +707,7 @@ void MapBlock::deSerialize(std::istream &is, u8 version, bool disk) &m_node_metadata, &m_node_timers, m_gamedef->idef()); } catch(SerializationError &e) { - errorstream<<"WARNING: MapBlock::deSerialize(): Ignoring an error" + warningstream<<"MapBlock::deSerialize(): Ignoring an error" <<" while deserializing node metadata at (" <idef()); } } catch(SerializationError &e) { - errorstream<<"WARNING: MapBlock::deSerialize(): Ignoring an error" + warningstream<<"MapBlock::deSerialize(): Ignoring an error" <<" while deserializing node metadata"<