From: divverent Date: Sun, 10 Jun 2012 17:07:15 +0000 (+0000) Subject: fix a misleading error "Mod_ForName: NULL name" X-Git-Tag: xonotic-v0.7.0~129 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e8333b7d951cce7456bf849ed755a193fc9cb701;p=xonotic%2Fdarkplaces.git 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 ::stable-branch::merge=7effaa7d2283c59c01ea753e24cac9c7005496ee --- diff --git a/model_shared.c b/model_shared.c index 5d06edc5..70802378 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++)