play sound if rotation not allowed

This commit is contained in:
Zeno Rogue 2020-10-26 12:04:08 +01:00
parent b409091e29
commit d11825021a
1 changed files with 2 additions and 0 deletions

View File

@ -787,6 +787,8 @@ void set_tview(transmatrix T) {
}
void rotate_block(int d) {
if(!rotate_allowed)
playSound(cwt.at, "hit-crush3");
remove_shape();
cellwalker at1 = flatspin(at, d);
if(!shape_conflict(at1)) {