From a9f891435f28b16d918f0decfee2c815d3ac584b Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Mon, 21 May 2012 22:19:10 +0300 Subject: [PATCH] Include the targetname of the problematic path_corner in the debug print --- qcsrc/server/t_plats.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/t_plats.qc b/qcsrc/server/t_plats.qc index ae4f035e1..796d9eeab 100644 --- a/qcsrc/server/t_plats.qc +++ b/qcsrc/server/t_plats.qc @@ -289,7 +289,7 @@ void train_next() { // when using bezier curves, you must have a control point for each corner in the train's path if(autocvar_developer) - dprint("Warning: func_train using beizer curves reached a path_corner without a control point. Please add a target2 for each path_corner used by this train!\n"); + dprint(strcat("Warning: func_train using beizer curves heading to the path_corner '", targ.targetname, "' which does not have a control point. Please add a target2 for each path_corner used by this train!\n")); cp = targ; // assume a straight line to the destination as fallback } } -- 2.39.2