1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

LINT: Switch whitelist check from egrep to awk

Bonus: make CI happy with the last rules fix
This commit is contained in:
Loïc Blot 2017-04-06 16:03:29 +02:00 committed by Loic Blot
parent 88b9b9652a
commit 3a90b78a03
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
6 changed files with 12 additions and 7 deletions

View file

@ -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;
}