]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
Remove the model parameter from NativeContentsFromSuperContents/SuperContentsFromNati...
[xonotic/darkplaces.git] / model_shared.c
index b6225fdcf0614a57f5ef2d9d8cc61fd76f94bfd0..eaa7134cf8efb6657af01b7b233bc92b6bc7904c 100644 (file)
@@ -2815,7 +2815,7 @@ nothing                GL_ZERO GL_ONE
                                        if (texture->materialshaderpass->skinframes[0]->hasalpha)
                                                texture->basematerialflags |= MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW;
                                        if (texture->q2contents)
-                                               texture->supercontents = Mod_Q2BSP_SuperContentsFromNativeContents(loadmodel, texture->q2contents);
+                                               texture->supercontents = Mod_Q2BSP_SuperContentsFromNativeContents(texture->q2contents);
                                }
                                else
                                        success = false;