review: getSpatial > isSpatial

This commit is contained in:
Nevyn Bengtsson 2020-12-02 16:35:13 +01:00 committed by Bjorn
parent 0265babef4
commit b7b63a268b
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ static int l_lovrSourceSetVolume(lua_State* L) {
return 0;
}
static int l_lovrSourceGetSpatial(lua_State* L) {
static int l_lovrSourceIsSpatial(lua_State* L) {
Source* source = luax_checktype(L, 1, Source);
lua_pushboolean(L, lovrSourceGetSpatial(source));
return 1;
@ -120,7 +120,7 @@ const luaL_Reg lovrSource[] = {
{ "setLooping", l_lovrSourceSetLooping },
{ "getVolume", l_lovrSourceGetVolume },
{ "setVolume", l_lovrSourceSetVolume },
{ "getSpatial", l_lovrSourceGetSpatial },
{ "isSpatial", l_lovrSourceIsSpatial },
{ "setPose", l_lovrSourceSetPose },
{ "getDuration", l_lovrSourceGetDuration },
{ "getTime", l_lovrSourceGetTime },