From dc2010105b70013c0b98ec88966c27bdc6c16eed Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 12 May 2012 23:59:18 +0000 Subject: [PATCH] - Added the actor's address to the info CCMD's output so that you can locate actors in the world and then examine them more closely in the debugger. SVN r3644 (trunk) --- src/p_mobj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 730dc304a..737620034 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -5874,7 +5874,7 @@ int StoreDropItemChain(FDropItem *chain) return DropItemList.Push (chain) + 1; } -void PrintMiscActorInfo(AActor * query) +void PrintMiscActorInfo(AActor *query) { if (query) { @@ -5891,7 +5891,7 @@ void PrintMiscActorInfo(AActor * query) static const char * renderstyles[]= {"None", "Normal", "Fuzzy", "SoulTrans", "OptFuzzy", "Stencil", "Translucent", "Add", "Shaded", "TranslucentStencil"}; - Printf("%s has the following flags:\n\tflags: %x", query->GetTag(), query->flags); + Printf("%s @ %p has the following flags:\n\tflags: %x", query->GetTag(), query, query->flags); for (flagi = 0; flagi < 31; flagi++) if (query->flags & 1<flags2);