equal
deleted
inserted
replaced
847 |
847 |
848 case SCC_GROUP_NAME: { // {GROUP} |
848 case SCC_GROUP_NAME: { // {GROUP} |
849 const Group *g = GetGroup(GetInt32(&argv)); |
849 const Group *g = GetGroup(GetInt32(&argv)); |
850 int64 args[1]; |
850 int64 args[1]; |
851 |
851 |
852 assert(IsValidGroup(g)); |
852 assert(g->IsValid()); |
853 |
853 |
854 args[0] = g->index; |
854 args[0] = g->index; |
855 buff = GetStringWithArgs(buff, IsCustomName(g->string_id) ? g->string_id : (StringID)STR_GROUP_NAME_FORMAT, args, last); |
855 buff = GetStringWithArgs(buff, IsCustomName(g->string_id) ? g->string_id : (StringID)STR_GROUP_NAME_FORMAT, args, last); |
856 |
856 |
857 break; |
857 break; |