mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[sound] Correct "default" listener origin
Position vectors need to be homogeneous, I forgot that when doing the change.
This commit is contained in:
parent
57dd4494cc
commit
457c73967b
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ SND_SetListener (snd_t *snd, transform_t *ear, const byte *ambient_sound_level)
|
|||
listener_right = Transform_Right (ear);
|
||||
listener_up = Transform_Up (ear);
|
||||
} else {
|
||||
listener_origin = (vec4f_t) { };
|
||||
listener_origin = (vec4f_t) {0, 0, 0, 1};
|
||||
listener_forward = (vec4f_t) {1, 0, 0, 0};
|
||||
listener_right = (vec4f_t) {0, -1, 0, 0};
|
||||
listener_up = (vec4f_t) {0, 0, 1, 0};
|
||||
|
|
Loading…
Reference in a new issue