diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-24 11:10:28 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-24 11:10:28 +0200 |
commit | 06e93f8d9508a23e86751dfae2f6a7e550d8e1af (patch) | |
tree | 3e3a9a0dc78ee6c216b047304b53bfe1d3d3ce0e /src/scriptapi.cpp | |
parent | 74780134f2825427bb0db3b370642d3512af5ecd (diff) | |
download | minetest-06e93f8d9508a23e86751dfae2f6a7e550d8e1af.tar.gz minetest-06e93f8d9508a23e86751dfae2f6a7e550d8e1af.tar.bz2 minetest-06e93f8d9508a23e86751dfae2f6a7e550d8e1af.zip |
Add sound.dig
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r-- | src/scriptapi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index fce760eb8..5ce5f3b29 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -1062,6 +1062,9 @@ static ContentFeatures read_content_features(lua_State *L, int index) lua_getfield(L, -1, "footstep"); read_soundspec(L, -1, f.sound_footstep); lua_pop(L, 1); + lua_getfield(L, -1, "dig"); + read_soundspec(L, -1, f.sound_dig); + lua_pop(L, 1); lua_getfield(L, -1, "dug"); read_soundspec(L, -1, f.sound_dug); lua_pop(L, 1); |