Observer is now at the bottom of the screen in positional sounds; tuned

attenuation to be less severe


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1055 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-07-16 00:45:57 +00:00
parent f735bb053b
commit b598140f88
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ SetPositionalObject (COUNT channel, void *positional_object)
void
UpdateSoundPosition (COUNT channel, SoundPosition pos)
{
const float ATTENUATION = 70.0f;
const float ATTENUATION = 160.0f;
float fpos[3];
if (pos.positional)
+1 -1
View File
@@ -1216,7 +1216,7 @@ CalcSoundPosition (ELEMENTPTR ElementPtr)
}
pos.x -= (SPACE_WIDTH >> 1);
pos.y -= (SPACE_HEIGHT >> 1);
pos.y -= (SPACE_HEIGHT);
pos.positional = TRUE;
}