Skip to content

Commit

Permalink
Added TF2 stock to open class selection panel
Browse files Browse the repository at this point in the history
  • Loading branch information
nosoop committed Dec 19, 2016
1 parent f338595 commit 6a15020
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tf/client.inc
Expand Up @@ -27,3 +27,14 @@ stock void TF2_SetClientUberchargeOverlay(int client) {
}
}
}

/**
* Displays the class selection screen to a client.
*
* @param client Client to display the class selection panel on.
*/
stock void TF2_ShowClassSelectPanel(int client) {
TFTeam team = TF2_GetClientTeam(client);

ShowVGUIPanel(client, team == TFTeam_Blue ? "class_blue" : "class_red");
}

0 comments on commit 6a15020

Please sign in to comment.