From: havoc Date: Thu, 13 Jan 2005 06:01:58 +0000 (+0000) Subject: changed numskins to 1 on q1bsp and q3bsp and numframes to 2 on q3bsp, to suppress... X-Git-Tag: xonotic-v0.1.0preview~5233 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=7eff50fbb740729737c85ecfc2c341b754680eeb;p=xonotic%2Fdarkplaces.git changed numskins to 1 on q1bsp and q3bsp and numframes to 2 on q3bsp, to suppress some network warnings about non-existent frames/skins git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4916 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index 21ea748c..9085bdfe 100644 --- a/model_brush.c +++ b/model_brush.c @@ -3118,6 +3118,7 @@ void Mod_Q1BSP_Load(model_t *mod, void *buffer) Mod_Q1BSP_MakePortals(); mod->numframes = 2; // regular and alternate animation + mod->numskins = 1; mainmempool = mod->mempool; @@ -5789,7 +5790,7 @@ void Mod_Q3BSP_Load(model_t *mod, void *buffer) q3msurface_t *face; mod->type = mod_brushq3; - mod->numframes = 1; + mod->numframes = 2; // although alternate textures are not supported it is annoying to complain about no such frame 1 mod->numskins = 1; header = (q3dheader_t *)buffer;