From 350ac122030d198b187255b19b2519ef8267364a Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Mon, 23 Mar 2015 12:12:38 +0100 Subject: play sound when trying to enter a forbidden map in the demo version --- src/hexen/g_game.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c index d6a73678..04e0e5af 100644 --- a/src/hexen/g_game.c +++ b/src/hexen/g_game.c @@ -1474,6 +1474,7 @@ void G_Completed(int map, int position) if (gamemode == shareware && map > 4) { P_SetMessage(&players[consoleplayer], "ACCESS DENIED -- DEMO", true); + S_StartSound(NULL, SFX_CHAT); return; } -- cgit v1.2.3