]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.c
Fixed many issues with q2bsp support, it now works properly.
[xonotic/darkplaces.git] / model_shared.c
index 6fd2527365adb903ff7a3ed3d155c316dd23d353..ec6a94abc1e5468edf5e06fa024984b961e9a070 100644 (file)
@@ -2747,9 +2747,6 @@ nothing                GL_ZERO GL_ONE
                                {
                                        if(texture->skinframes[0]->hasalpha)
                                                texture->basematerialflags |= MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW;
-                                       texture->q2flags = texture->skinframes[0]->q2flags;
-                                       texture->q2value = texture->skinframes[0]->q2value;
-                                       texture->q2contents = texture->skinframes[0]->q2contents;
                                        if (texture->q2contents)
                                                texture->supercontents = Mod_Q2BSP_SuperContentsFromNativeContents(loadmodel, texture->q2contents);
                                }