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

Add different place sound for nodes

This commit is contained in:
PilzAdam 2013-03-25 23:59:17 +01:00
parent 7d9329ecfe
commit 5e7e0347cd
7 changed files with 47 additions and 8 deletions

View file

@ -2394,11 +2394,6 @@ void the_game(
}
}
// We can't actually know, but assume the sound of right-clicking
// to be the sound of placing a node
soundmaker.m_player_rightpunch_sound.gain = 0.5;
soundmaker.m_player_rightpunch_sound.name = "default_place_node";
/*
Handle digging
*/
@ -2617,6 +2612,9 @@ void the_game(
<<") - Position not loaded"<<std::endl;
}
}while(0);
// Read the sound
soundmaker.m_player_rightpunch_sound = def.sound_place;
}
}
}