reset music on disconnect

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2120 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-30 17:39:13 +00:00
parent 757549473e
commit 9632c46243
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ void sethudgunperspective(bool on)
if(on)
{
glScalef(1, 1, 0.5f); // fix hudugns colliding with map geometry
gluPerspective((float)100.0f*screen->h/screen->w, aspect, 0.3f, farplane); // fov fixed at 100°
gluPerspective((float)100.0f*screen->h/screen->w, aspect, 0.3f, farplane); // fov fixed at 100°
}
else gluPerspective((float)dynfov()*screen->h/screen->w, aspect, 0.15f, farplane);
glMatrixMode(GL_MODELVIEW);