From 61d033328bed5ea2adda9409eaa1b6c22c0d5184 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 25 Jan 2016 20:18:33 -0600 Subject: [PATCH] Don't show "exited the level" messages after the level has exited --- src/p_spec.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 0dcf5124a5..b49dd43afb 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -36,6 +36,7 @@ #include "templates.h" #include "doomdef.h" #include "doomstat.h" +#include "d_event.h" #include "gstrings.h" #include "i_system.h" @@ -174,7 +175,7 @@ bool CheckIfExitIsGood (AActor *self, level_info_t *info) { return false; } - if (deathmatch) + if (deathmatch && gameaction != ga_completed) { Printf ("%s exited the level.\n", self->player->userinfo.GetName()); }