Browse Source

Fix issue #494: Source:getDistance doesn't work

vrld 12 years ago
parent
commit
dcfc18192d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/audio/wrap_Source.cpp

+ 1 - 1
src/modules/audio/wrap_Source.cpp

@@ -312,7 +312,7 @@ static const luaL_Reg functions[] =
 	{ "setVolumeLimits", w_Source_setVolumeLimits },
 	{ "getVolumeLimits", w_Source_getVolumeLimits },
 	{ "setDistance", w_Source_setDistance },
-	{ "getDistance", w_Source_setDistance },
+	{ "getDistance", w_Source_getDistance },
 	{ "setRolloff", w_Source_setRolloff},
 	{ "getRolloff", w_Source_getRolloff},