From: cloudwalk Date: Wed, 6 Jan 2021 17:56:59 +0000 (+0000) Subject: model_shared: Clarify comments X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=d1314182a212a1ccad18a68066fd72b59186e9b6;p=xonotic%2Fdarkplaces.git model_shared: Clarify comments git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13090 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_shared.c b/model_shared.c index 67062eba..f9a33348 100644 --- a/model_shared.c +++ b/model_shared.c @@ -518,10 +518,10 @@ model_t *Mod_LoadModel(model_t *mod, qbool crash, qbool checkdisk) // all models use memory, so allocate a memory pool mod->mempool = Mem_AllocPool(mod->name, 0, NULL); - // call the apropriate loader + // We need to have a reference to the base model in case we're parsing submodels loadmodel = mod; - // Try matching magic bytes. + // Call the appropriate loader. Try matching magic bytes. for (i = 0; loader[i].Load; i++) { // Headerless formats can just load based on extension. Otherwise match the magic string.