Playing fold sound

This commit is contained in:
Pere Pujal i Carabantes 2009-06-09 04:05:23 +00:00
parent 351e2e9873
commit 90b859a1d4

View file

@ -329,6 +329,7 @@ void fold_release(magic_api * api, int which,
update_rect->x=update_rect->y=0;
update_rect->w=canvas->w;
update_rect->h=canvas->h;
api->playsound(fold_snd, (x * 255) / canvas->w, 255);
}
void fold_shutdown(magic_api * api)