]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progs.h
now compiles on x86_64 successfully (still a crash regarding progs strings to fix...
[xonotic/darkplaces.git] / progs.h
diff --git a/progs.h b/progs.h
index 6992e5cb6c8d0c2898e7fbd5d2b3a3dc5862d30a..99cf61fcf3addab9bf275cba51710b8f5e1798d0 100644 (file)
--- a/progs.h
+++ b/progs.h
@@ -227,7 +227,7 @@ void ED_PrintEdicts (void);
 void ED_PrintNum (int ent);
 
 #define PR_GetString(num) (pr_strings + num) 
-#define PR_SetString(s)   ((int) (s) ? (s - pr_strings) : 0)
+#define PR_SetString(s)   ((s) != NULL ? (int) (s - pr_strings) : 0)
 
 #endif