MRI-Binding: Fix Audio fade functions all fading the BGM

This commit is contained in:
Jonas Kulla 2013-10-17 01:02:09 +02:00
parent 9dcd09d64f
commit 1759a1b4a9
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ RB_METHOD(audio_##entity##Fade) \
RB_UNUSED_PARAM; \ RB_UNUSED_PARAM; \
int time; \ int time; \
rb_get_args(argc, argv, "i", &time, RB_ARG_END); \ rb_get_args(argc, argv, "i", &time, RB_ARG_END); \
shState->audio().bgmFade(time); \ shState->audio().entity##Fade(time); \
return Qnil; \ return Qnil; \
} }