summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic')
-rw-r--r--src/heretic/in_lude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/in_lude.c b/src/heretic/in_lude.c
index 3eb40e9c..21a37ca7 100644
--- a/src/heretic/in_lude.c
+++ b/src/heretic/in_lude.c
@@ -343,7 +343,7 @@ static void IN_LoadUnloadPics(void (*callback)(char *lumpname,
static void LoadLumpCallback(char *lumpname, int lumpnum, patch_t **ptr)
{
- if (lumpname == NULL)
+ if (lumpname != NULL)
{
lumpnum = W_GetNumForName(lumpname);
}