… | |
… | |
901 | LOG (llevDebug, "looking for formula %d:\n", formula); |
901 | LOG (llevDebug, "looking for formula %d:\n", formula); |
902 | #endif |
902 | #endif |
903 | result = NULL; |
903 | result = NULL; |
904 | recipes_matching = 0; |
904 | recipes_matching = 0; |
905 | transmute_found = 0; |
905 | transmute_found = 0; |
|
|
906 | |
906 | for (rp = fl->items; rp != NULL; rp = rp->next) |
907 | for (rp = fl->items; rp; rp = rp->next) |
907 | { |
908 | { |
908 | /* check if recipe matches at all */ |
909 | /* check if recipe matches at all */ |
909 | if (formula % rp->index != 0) |
910 | if (formula % rp->index != 0) |
910 | { |
911 | { |
911 | #ifdef EXTREME_ALCHEMY_DEBUG |
912 | #ifdef EXTREME_ALCHEMY_DEBUG |