summaryrefslogtreecommitdiff
path: root/src/heretic/deh_weapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/deh_weapon.c')
-rw-r--r--src/heretic/deh_weapon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/heretic/deh_weapon.c b/src/heretic/deh_weapon.c
index 28a90c68..0c417e2b 100644
--- a/src/heretic/deh_weapon.c
+++ b/src/heretic/deh_weapon.c
@@ -108,14 +108,14 @@ static void DEH_WeaponParseLine(deh_context_t *context, char *line, void *tag)
DEH_SetMapping(context, &weapon_mapping, weapon, variable_name, ivalue);
}
-static void DEH_WeaponMD5Sum(md5_context_t *context)
+static void DEH_WeaponSHA1Sum(sha1_context_t *context)
{
int i;
for (i=0; i<NUMWEAPONS ;++i)
{
- DEH_StructMD5Sum(context, &weapon_mapping, &wpnlev1info[i]);
- DEH_StructMD5Sum(context, &weapon_mapping, &wpnlev2info[i]);
+ DEH_StructSHA1Sum(context, &weapon_mapping, &wpnlev1info[i]);
+ DEH_StructSHA1Sum(context, &weapon_mapping, &wpnlev2info[i]);
}
}
@@ -126,6 +126,6 @@ deh_section_t deh_section_weapon =
DEH_WeaponStart,
DEH_WeaponParseLine,
NULL,
- DEH_WeaponMD5Sum,
+ DEH_WeaponSHA1Sum,
};