projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d1b3d
)
Pathfinder: Send errors to `warningstream`.
author
Diego MartÃnez
<kaeza@users.noreply.github.com>
Sat, 11 Mar 2017 23:17:59 +0000
(20:17 -0300)
committer
paramat
<mat.gregory@virginmedia.com>
Mon, 27 Mar 2017 02:17:37 +0000
(
03:17
+0100)
Avoids spamming the chat about several errors.
src/pathfinder.cpp
patch
|
blob
|
history
diff --git
a/src/pathfinder.cpp
b/src/pathfinder.cpp
index b240ec21f7f7bcc45a05d1b4d09a1bb702450d7e..ee06db63079c28a30570f8229c5c1de728ad533c 100644
(file)
--- 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
error
stream << "Pathfinder: "
+#define ERROR_TARGET
warning
stream << "Pathfinder: "
#endif
/******************************************************************************/