model culling fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2536 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-12 01:57:54 +00:00
parent 512539c48c
commit 834e223154
9 changed files with 36 additions and 11 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ void rendermenumdl()
a[0].name = "weapons/subgun/world";
a[0].tag = "tag_weapon";
}
rendermodel(isplayermodel ? "playermodels" : m.mdl, m.anim, tex, 0, pos, yaw, 0, 0, 0, NULL, a, m.scale ? m.scale/25.0f : 1.0f);
rendermodel(isplayermodel ? "playermodels" : m.mdl, m.anim, tex, -1, pos, yaw, 0, 0, 0, NULL, a, m.scale ? m.scale/25.0f : 1.0f);
glPopMatrix();
}