equal
deleted
inserted
replaced
467 Player *p; |
467 Player *p; |
468 NetworkClientState *cs; |
468 NetworkClientState *cs; |
469 NetworkClientInfo *ci; |
469 NetworkClientInfo *ci; |
470 |
470 |
471 if (argc == 2) { |
471 if (argc == 2) { |
472 uint32 index = atoi(argv[1]); |
472 byte index = atoi(argv[1]); |
473 |
473 |
474 /* Check valid range */ |
474 /* Check valid range */ |
475 if (index < 1 || index > MAX_PLAYERS) { |
475 if (index < 1 || index > MAX_PLAYERS) { |
476 IConsolePrintF(_iconsole_color_error, "Company does not exist. Company-ID must be between 1 and %d.", MAX_PLAYERS); |
476 IConsolePrintF(_iconsole_color_error, "Company does not exist. Company-ID must be between 1 and %d.", MAX_PLAYERS); |
477 return NULL; |
477 return NULL; |