MRI-Binding: Fix Audio fade functions all fading the BGM
This commit is contained in:
parent
9dcd09d64f
commit
1759a1b4a9
|
@ -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; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue