aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2017-04-06 16:03:29 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-06 23:21:40 +0200
commit3a90b78a037df3eb9098d4fddb1289ed8ee21329 (patch)
tree33db5306cb406f6e8f3388a957f1f2d400d7d082 /src/script/lua_api
parent88b9b9652ab77f91eaa7c6e40b8a48e3a35a7948 (diff)
downloadminetest-3a90b78a037df3eb9098d4fddb1289ed8ee21329.tar.gz
minetest-3a90b78a037df3eb9098d4fddb1289ed8ee21329.tar.bz2
minetest-3a90b78a037df3eb9098d4fddb1289ed8ee21329.zip
LINT: Switch whitelist check from egrep to awk
Bonus: make CI happy with the last rules fix
Diffstat (limited to 'src/script/lua_api')
-rw-r--r--src/script/lua_api/l_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp
index 0f4d7eaae..be3a749de 100644
--- a/src/script/lua_api/l_client.cpp
+++ b/src/script/lua_api/l_client.cpp
@@ -212,8 +212,8 @@ int ModApiClient::l_sound_play(lua_State *L)
if (!lua_isnil(L, -1)) {
v3f pos = read_v3f(L, -1) * BS;
lua_pop(L, 1);
- handle =
- sound->playSoundAt(spec.name, looped, gain * spec.gain, pos);
+ handle = sound->playSoundAt(
+ spec.name, looped, gain * spec.gain, pos);
lua_pushinteger(L, handle);
return 1;
}