effect_position.c
changeset 441 f86cc112a195
parent 440 fc0d5e4bc358
child 442 884a700fb3ff
     1.1 --- a/effect_position.c	Sat Oct 10 16:38:34 2009 +0000
     1.2 +++ b/effect_position.c	Sat Oct 10 17:05:45 2009 +0000
     1.3 @@ -129,7 +129,7 @@
     1.4          len--;
     1.5      }
     1.6  
     1.7 -    if (args->room_angle == 0)
     1.8 +    if (args->room_angle == 180)
     1.9      for (i = 0; i < len; i += sizeof (Uint8) * 2) {
    1.10          /* must adjust the sample so that 0 is the center */
    1.11          *ptr = (Uint8) ((Sint8) ((((float) (Sint8) (*ptr - 128))