shithub: choc

Download patch

ref: fc4f278bc33c1d3d5a9f29226a092fadd141dfac
parent: 8eba353126080a0fd16586b8a23aab6fe384afa4
author: Simon Howard <[email protected]>
date: Fri Sep 26 20:32:33 EDT 2008

Fix crash caused by mistake in previous change.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1291

--- a/src/heretic/in_lude.c
+++ b/src/heretic/in_lude.c
@@ -343,7 +343,7 @@
 
 static void LoadLumpCallback(char *lumpname, int lumpnum, patch_t **ptr)
 {
-    if (lumpname == NULL)
+    if (lumpname != NULL)
     {
         lumpnum = W_GetNumForName(lumpname);
     }