From 3031d48bfbb6a834aa967ee853c91f4658a2d295 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 28 Sep 2017 11:33:53 -0400 Subject: [PATCH] - added TID to actorlist and similar commands output --- src/c_cmds.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index 00a3e4ebe..748680e91 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -957,8 +957,13 @@ static void PrintFilteredActorList(const ActorTypeChecker IsActorType, const cha { counter++; if (!countOnly) - Printf("%s at (%f,%f,%f)\n", + { + Printf("%s at (%f,%f,%f)", mo->GetClass()->TypeName.GetChars(), mo->X(), mo->Y(), mo->Z()); + if (mo->tid) + Printf(" (TID:%d)", mo->tid); + Printf("\n"); + } } } }