=bmesh= merge from trunk at r36529
[blender.git] / source / blender / blenkernel / intern / sca.c
index ceafb06fce6596b55645b3b8e433d62737199941..4ee7ee501e1d304eeeca0b1eccd8b6e5a6bc6714 100644 (file)
@@ -333,12 +333,12 @@ void free_actuator(bActuator *act)
 
        if(act->data) {
                switch (act->type) {
-                       case ACT_SOUND:
-                               sa = (bSoundActuator *) act->data;
-                               if(sa->sound)
-                                       id_us_min((ID *) sa->sound);
-                               break;
-               }
+               case ACT_SOUND:
+                       sa = (bSoundActuator *) act->data;
+                       if(sa->sound)
+                               id_us_min((ID *) sa->sound);
+                       break;
+               }
 
                MEM_freeN(act->data);
        }