summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/deh_thing.c3
-rw-r--r--src/heretic/deh_weapon.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/heretic/deh_thing.c b/src/heretic/deh_thing.c
index fe94f3b8..ffededf2 100644
--- a/src/heretic/deh_thing.c
+++ b/src/heretic/deh_thing.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include "doomtype.h"
+#include "m_misc.h"
#include "deh_defs.h"
#include "deh_main.h"
@@ -117,7 +118,7 @@ static void DEH_ThingParseLine(deh_context_t *context, char *line, void *tag)
// undergo transformation from a Heretic 1.0 index to a
// Heretic 1.3 index.
- if (strstr(variable_name, "frame") != NULL)
+ if (M_StrCaseStr(variable_name, "frame") != NULL)
{
ivalue = DEH_MapHereticFrameNumber(ivalue);
}
diff --git a/src/heretic/deh_weapon.c b/src/heretic/deh_weapon.c
index 1daae766..28a90c68 100644
--- a/src/heretic/deh_weapon.c
+++ b/src/heretic/deh_weapon.c
@@ -29,6 +29,7 @@
#include <string.h>
#include "doomtype.h"
+#include "m_misc.h"
#include "doomdef.h"
@@ -99,7 +100,7 @@ static void DEH_WeaponParseLine(deh_context_t *context, char *line, void *tag)
// If this is a frame field, we need to map from Heretic 1.0 frame
// numbers to Heretic 1.3 frame numbers.
- if (strstr(variable_name, "frame") != NULL)
+ if (M_StrCaseStr(variable_name, "frame") != NULL)
{
ivalue = DEH_MapHereticFrameNumber(ivalue);
}