projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve core.sound_play with ephemeral sounds and player exclusion
[oweals/minetest.git]
/
src
/
script
/
common
/
c_content.cpp
diff --git
a/src/script/common/c_content.cpp
b/src/script/common/c_content.cpp
index ca061c45466f1384a1dabc69363d4fad5b4b2ab6..accbb1a875465a14aff9d11e81da2543d34061fc 100644
(file)
--- a/
src/script/common/c_content.cpp
+++ b/
src/script/common/c_content.cpp
@@
-1019,6
+1019,7
@@
void read_server_sound_params(lua_State *L, int index,
params.max_hear_distance = BS*getfloatfield_default(L, index,
"max_hear_distance", params.max_hear_distance/BS);
getboolfield(L, index, "loop", params.loop);
+ getstringfield(L, index, "exclude_player", params.exclude_player);
}
}