mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 11:28:26 +00:00
add brackets (#1019)
This commit is contained in:
parent
a6ff5dd94c
commit
5730148d0a
@ -461,11 +461,17 @@ stock bool GuessBestMapName(ArrayList maps, const char[] input, char[] output, i
|
|||||||
stock void GetTrackName(int client, int track, char[] output, int size)
|
stock void GetTrackName(int client, int track, char[] output, int size)
|
||||||
{
|
{
|
||||||
if (track == Track_Main)
|
if (track == Track_Main)
|
||||||
|
{
|
||||||
FormatEx(output, size, "%T", "Track_Main", client);
|
FormatEx(output, size, "%T", "Track_Main", client);
|
||||||
|
}
|
||||||
else if (track >= Track_Bonus)
|
else if (track >= Track_Bonus)
|
||||||
|
{
|
||||||
FormatEx(output, size, "%T", "Track_Bonus", client, track);
|
FormatEx(output, size, "%T", "Track_Bonus", client, track);
|
||||||
|
}
|
||||||
else //if (track < Track_Main)
|
else //if (track < Track_Main)
|
||||||
|
{
|
||||||
FormatEx(output, size, "%T", "Track_Unknown", client);
|
FormatEx(output, size, "%T", "Track_Unknown", client);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user