Skip to content

Commit

Permalink
Added target and last enemy to linetarget CCMD output
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Mar 18, 2018
1 parent 75782e6 commit 341a9bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/p_mobj.cpp
Expand Up @@ -8516,5 +8516,7 @@ void PrintMiscActorInfo(AActor *query)
query->Speed, query->Vel.X, query->Vel.Y, query->Vel.Z, query->Vel.Length());
Printf("Scale: x:%f, y:%f\n", query->Scale.X, query->Scale.Y);
Printf("FriendlySeeBlocks: %d\n", query->friendlyseeblocks);
Printf("Target: %s\n", query->target ? query->target->GetClass()->TypeName.GetChars() : "-");
Printf("Last enemy: %s\n", query->lastenemy ? query->lastenemy->GetClass()->TypeName.GetChars() : "-");
}
}

0 comments on commit 341a9bc

Please sign in to comment.