Playing fold sound
This commit is contained in:
parent
351e2e9873
commit
90b859a1d4
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue