ref: 350ac122030d198b187255b19b2519ef8267364a
parent: 19659f3eab0614465577ac71731b4bdce67ce30c
author: Fabian Greffrath <fabian@greffrath.com>
date: Mon Mar 23 08:12:38 EDT 2015
play sound when trying to enter a forbidden map in the demo version
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -1474,6 +1474,7 @@
if (gamemode == shareware && map > 4)
{
P_SetMessage(&players[consoleplayer], "ACCESS DENIED -- DEMO", true);
+ S_StartSound(NULL, SFX_CHAT);
return;
}