]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix bug in loading additional skins after the ones that exist in the model in mdl...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Dec 2016 19:50:51 +0000 (19:50 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Dec 2016 19:50:51 +0000 (19:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12307 d7cf8633-e32d-0410-b094-e92efae38249

model_alias.c

index 2eafadf021554e572a1c4b57e5df1e1ae5dabb96..100311ebc20495244649fafa7f7fa2d9aef5acdb 100644 (file)
@@ -1309,6 +1309,7 @@ void Mod_IDP0_Load(dp_model_t *mod, void *buffer, void *bufferend)
                        loadmodel->skinscenes[loadmodel->numskins].loop = true;
 
                        //increase skin counts
+                       loadmodel->num_textures++;
                        loadmodel->numskins++;
                        totalskins++;