diff options
author | Fabian Greffrath | 2015-03-23 12:12:38 +0100 |
---|---|---|
committer | Fabian Greffrath | 2015-03-23 12:12:38 +0100 |
commit | 350ac122030d198b187255b19b2519ef8267364a (patch) | |
tree | 1b04bbb3f4071d74c1fbf22040307950fb806f99 | |
parent | 19659f3eab0614465577ac71731b4bdce67ce30c (diff) | |
download | chocolate-doom-350ac122030d198b187255b19b2519ef8267364a.tar.gz chocolate-doom-350ac122030d198b187255b19b2519ef8267364a.tar.bz2 chocolate-doom-350ac122030d198b187255b19b2519ef8267364a.zip |
play sound when trying to enter a forbidden map in the demo version
-rw-r--r-- | src/hexen/g_game.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |