diff --git a/src/conio/cterm.c b/src/conio/cterm.c
index 555ca347b30b7ba38b94f62d1326edc691bf9ba2..5c85d9980d39ef98d0c089430893408b1dd7e8a1 100644
--- a/src/conio/cterm.c
+++ b/src/conio/cterm.c
@@ -170,7 +170,7 @@ void playnote(int notenum, int notelen, int dotted)
 			break;
 	}
 	duration-=pauselen;
-	BEEP(((double)note_frequency[notenum])/1000,duration);
+	xpbeep(((double)note_frequency[notenum])/1000,duration);
 	SLEEP(pauselen);
 }