Skip to content

Commit

Permalink
Merge pull request #939 from osm/fix-inconsole-prefix
Browse files Browse the repository at this point in the history
VX_TRACKER: Use prefix string correctly
  • Loading branch information
dsvensson committed Sep 12, 2024
2 parents c0c803e + f0cff0d commit bcbf931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vx_tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static qbool VX_TrackerStringPrintSegments(const char* text1, const char* text2,
{
int flags = Print_flags[Print_current];
Print_flags[Print_current] |= PR_NONOTIFY;
Com_Printf("%s%s%s%s%s%s%s%s\n", amf_tracker_string_inconsole_prefix, text1 ? text1 : "", text1 && text2 ? " " : "", text2 ? text2 : "", text2 && text3 ? " " : "", text3 ? text3 : "", text3 && text4 ? " " : "", text4 ? text4 : "");
Com_Printf("%s%s%s%s%s%s%s%s\n", amf_tracker_string_inconsole_prefix.string, text1 ? text1 : "", text1 && text2 ? " " : "", text2 ? text2 : "", text2 && text3 ? " " : "", text3 ? text3 : "", text3 && text4 ? " " : "", text4 ? text4 : "");
Print_flags[Print_current] = flags;
return true;
}
Expand Down

0 comments on commit bcbf931

Please sign in to comment.