X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=ee53e0bff80341528592124d4d84a82899bf5500;hb=94b7c2176cc449da0e0e80a1fb7534cfb5573eba;hp=29ce84dc807dc78761e1542d66965c41cfddf803;hpb=aec11dbcce774ba19a85bcc98a244890fb11ecde;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 29ce84dc..ee53e0bf 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4879,9 +4879,7 @@ void DrawChoosePlayerName(void) for (i = 0; i < MAX_PLAYER_NAMES; i++) { - boolean team_mode = (!network.enabled && setup.team_mode); - int tree_type = (team_mode ? TREE_TYPE_PLAYER_TEAM : TREE_TYPE_PLAYER_NAME); - TreeInfo *ti = newTreeInfo_setDefaults(tree_type); + TreeInfo *ti = newTreeInfo_setDefaults(TREE_TYPE_PLAYER_NAME); char identifier[32], name[MAX_PLAYER_NAME_LEN + 1]; int value = i;