void ED_PrintEdicts (void);
void ED_PrintNum (int ent);
-#define PR_GetString(num) (pr_strings + num)
-#define PR_SetString(s) ((int) (s - pr_strings))
+#define PR_GetString(num) (pr_strings + num)
+#define PR_SetString(s) ((int) (s) ? (s - pr_strings) : 0)
#endif
void PRVM_ED_PrintNum (int ent);
#define PRVM_GetString(num) (prog->strings + num)
-#define PRVM_SetString(s) ((int) (s - prog->strings))
+#define PRVM_SetString(s) ((int) (s) ? (s - prog->strings) : 0)
//============================================================================
-n darkplaces: make sure EF_FULLBRIGHT works on bmodels (FrikaC)
-n darkplaces: make sure EF_FULLBRIGHT works on models (FrikaC)
-n darkplaces: make sure EF_FULLBRIGHT works on sprites (FrikaC)
-0 darkplaces: make sure PR_SetString points NULL strings at pr_strings (which would be an offset of 0) (Fuh)
+-n darkplaces: make sure PR_SetString points NULL strings at pr_strings (which would be an offset of 0) (Fuh)
0 darkplaces: make sure QuakeDoneQuick works (Chris Kemp)
0 darkplaces: make sure r_fullbright works
0 darkplaces: make sure that sky works without a valid size (just treat it as single layer clouds or non-animated) (tell Vermeulen)