From 7effaa7d2283c59c01ea753e24cac9c7005496ee Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 10 Jun 2012 17:07:15 +0000 Subject: [PATCH] fix a misleading error "Mod_ForName: NULL name" as that one means empty name, not NULL git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11827 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index e49b1b10..41ad9db2 100644 --- a/model_shared.c +++ b/model_shared.c @@ -582,7 +582,7 @@ dp_model_t *Mod_FindName(const char *name, const char *parentname) nummodels = Mem_ExpandableArray_IndexRange(&models); if (!name[0]) - Host_Error ("Mod_ForName: NULL name"); + Host_Error ("Mod_ForName: empty name"); // search the currently loaded models for (i = 0;i < nummodels;i++) -- 2.39.2