foxygit / doom Log in
commit fc4f278bc33c1d3d5a9f29226a092fadd141dfac
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Sep 27 00:32:33 2008 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Sep 27 00:32:33 2008 +0000

    Fix crash caused by mistake in previous change.

    Subversion-branch: /branches/raven-branch
    Subversion-revision: 1291
---
 src/heretic/in_lude.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
     }