diff options
Diffstat (limited to 'src/hexen/g_game.c')
-rw-r--r-- | src/hexen/g_game.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c index 6d10dcfd..4dcd3bd9 100644 --- a/src/hexen/g_game.c +++ b/src/hexen/g_game.c @@ -1467,6 +1467,12 @@ void G_SecretExitLevel (void) void G_Completed(int map, int position) { + if (gamemode == shareware && map > 4) + { + P_SetMessage(&players[consoleplayer], "access denied -- demo", true); + return; + } + gameaction = ga_completed; LeaveMap = map; LeavePosition = position; |