]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed numskins to 1 on q1bsp and q3bsp and numframes to 2 on q3bsp, to suppress...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 13 Jan 2005 06:01:58 +0000 (06:01 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 13 Jan 2005 06:01:58 +0000 (06:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4916 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c

index 21ea748cb9fd6f4dbd0f351d6ce7c1a838dc22ff..9085bdfe02c74566b06c15c71a379c209cfd8c50 100644 (file)
@@ -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;