equal
deleted
inserted
replaced
957 |
957 |
958 case SCC_COMPANY_NUM: { // {COMPANYNUM} |
958 case SCC_COMPANY_NUM: { // {COMPANYNUM} |
959 PlayerID player = (PlayerID)GetInt32(&argv); |
959 PlayerID player = (PlayerID)GetInt32(&argv); |
960 |
960 |
961 /* Nothing is added for AI or inactive players */ |
961 /* Nothing is added for AI or inactive players */ |
962 if (IsHumanPlayer(player) && IsValidPlayer(player)) { |
962 if (IsHumanPlayer(player) && IsValidPlayerID(player)) { |
963 int64 args[1]; |
963 int64 args[1]; |
964 args[0] = player + 1; |
964 args[0] = player + 1; |
965 buff = GetStringWithArgs(buff, STR_7002_PLAYER, args, last); |
965 buff = GetStringWithArgs(buff, STR_7002_PLAYER, args, last); |
966 } |
966 } |
967 break; |
967 break; |