- int j = -1;
- for (int i = 0; i < Mutators_MAX; ++i) {
- if (loaded_mutators[i] == mut)
- return true; // already added
- if (!(loaded_mutators[i]))
- j = i;
- }
- if (j < 0) {
- backtrace("WARNING: too many mutators, cannot add any more\n");
- return false;
- }
- loaded_mutators[j] = mut;