From d1314182a212a1ccad18a68066fd72b59186e9b6 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Wed, 6 Jan 2021 17:56:59 +0000 Subject: [PATCH] model_shared: Clarify comments git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13090 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.2