reverted alphatex

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2408 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-08-27 16:46:50 +00:00
parent 84f641832e
commit 132c9be72f
3 changed files with 4 additions and 21 deletions
+1 -9
View File
@@ -36,14 +36,6 @@ void mdlalphatest(int alphatest)
COMMAND(mdlalphatest, ARG_1INT);
void mdlalphablend(int alphablend)
{
checkmdl;
loadingmodel->alphablend = alphablend!=0;
}
COMMAND(mdlalphablend, ARG_1INT);
void mdlscale(int percent)
{
checkmdl;
@@ -256,7 +248,7 @@ void endmodelbatches()
loopvj(b.batched)
{
batchedmodel &bm = b.batched[j];
if(bm.anim&ANIM_TRANSLUCENT || b.m->alphablend)
if(bm.anim&ANIM_TRANSLUCENT)
{
translucentmodel &tm = translucent.add();
tm.m = b.m;