From 92f6a7b808811061e96bd88af61896f962fa095e Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 6 Oct 2009 10:14:39 +0000 Subject: [PATCH] disable some slow code (clearing unused parameters in an array) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9313 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/model_shared.c b/model_shared.c index 5493b06a..4893aea6 100644 --- a/model_shared.c +++ b/model_shared.c @@ -1464,8 +1464,8 @@ void Mod_LoadQ3Shaders(void) if (!COM_ParseToken_QuakeC(&text, true)) break; } - for (j = numparameters;j < TEXTURE_MAXFRAMES + 4;j++) - parameter[j][0] = 0; + //for (j = numparameters;j < TEXTURE_MAXFRAMES + 4;j++) + // parameter[j][0] = 0; if (developer.integer >= 100) { Con_Printf("%s %i: ", shader.name, shader.numlayers - 1); @@ -1683,8 +1683,8 @@ void Mod_LoadQ3Shaders(void) if (!COM_ParseToken_QuakeC(&text, true)) break; } - for (j = numparameters;j < TEXTURE_MAXFRAMES + 4;j++) - parameter[j][0] = 0; + //for (j = numparameters;j < TEXTURE_MAXFRAMES + 4;j++) + // parameter[j][0] = 0; if (fileindex == 0 && !strcasecmp(com_token, "}")) break; if (developer.integer >= 100) -- 2.39.2