diff --git a/src/xpdev/xpbeep.c b/src/xpdev/xpbeep.c
index 21ad357e52f6c32cbb38e4cd9db6fdb48a5aa3f5..c6b12c761a428d459e5149a9ac3b159466b7a9a2 100644
--- a/src/xpdev/xpbeep.c
+++ b/src/xpdev/xpbeep.c
@@ -391,6 +391,7 @@ BOOL xptone_close(void)
 	handle_type=SOUND_DEVICE_CLOSED;
 	sound_device_open_failed=FALSE;
 	alsa_device_open_failed=FALSE;
+	sdl_device_open_failed=FALSE;
 
 	return(TRUE);
 }