aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-11 20:17:59 -0300
committerparamat <mat.gregory@virginmedia.com>2017-03-27 03:17:37 +0100
commit09f2cd0264993e7b81d84d77bfc670b40ef82444 (patch)
tree40091e650e3060fbb2b196ef937d8d045dbd2f5a
parent53d1b3d92441a4dab6ea34c24cb9da17c1cfddb1 (diff)
downloadminetest-09f2cd0264993e7b81d84d77bfc670b40ef82444.tar.gz
minetest-09f2cd0264993e7b81d84d77bfc670b40ef82444.tar.bz2
minetest-09f2cd0264993e7b81d84d77bfc670b40ef82444.zip
Pathfinder: Send errors to `warningstream`.
Avoids spamming the chat about several errors.
-rw-r--r--src/pathfinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder.cpp b/src/pathfinder.cpp
index b240ec21f..ee06db630 100644
--- a/src/pathfinder.cpp
+++ b/src/pathfinder.cpp
@@ -55,7 +55,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define DEBUG_OUT(a) while(0)
#define INFO_TARGET infostream << "Pathfinder: "
#define VERBOSE_TARGET verbosestream << "Pathfinder: "
-#define ERROR_TARGET errorstream << "Pathfinder: "
+#define ERROR_TARGET warningstream << "Pathfinder: "
#endif
/******************************************************************************/