X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=1cb235ced68f5daa059138da80c795251f411423;hb=96626a07ae084d613fd85fa9eb87fd8b3495af59;hp=d3031fafb1dad2ee066f0f46cd90817bc394896f;hpb=fec87058390c43e3a4dafeb3e6ff26b8401841b2;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index d3031faf..1cb235ce 100644 --- a/src/files.c +++ b/src/files.c @@ -11982,7 +11982,7 @@ static int get_anim_action_parameter_value(char *token) { if (isURL(token)) { - result = get_hash_from_key(token); // unsigned int => int + result = get_hash_from_string(token); // unsigned int => int result = ABS(result); // may be negative now result += (result < MAX_IMAGE_FILES ? MAX_IMAGE_FILES : 0); @@ -12084,7 +12084,7 @@ int get_parameter_value(char *value_raw, char *suffix, int type) else if (strEqual(suffix, ".class")) { result = (strEqual(value, ARG_UNDEFINED) ? ARG_UNDEFINED_VALUE : - get_hash_from_key(value)); + get_hash_from_string(value)); } else if (strEqual(suffix, ".style")) {