diff options
Diffstat (limited to 'src/heretic')
-rw-r--r-- | src/heretic/d_net.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/heretic/d_net.c b/src/heretic/d_net.c index 3656f928..73e9d996 100644 --- a/src/heretic/d_net.c +++ b/src/heretic/d_net.c @@ -55,13 +55,13 @@ static void PlayerQuitGame(player_t *player) player_num = player - players; - // Do this the same way as Vanilla Doom does, to allow dehacked - // replacements of this message - - strncpy(exitmsg, DEH_String("Player 1 left the game"), sizeof(exitmsg)); - exitmsg[sizeof(exitmsg) - 1] = '\0'; + // Note: + // The Heretic source code does this, which doesn't actually work. + // As a result, the exit message is never seen. + strcpy(exitmsg, "PLAYER 1 LEFT THE GAME"); exitmsg[7] += player_num; + players[consoleplayer].message = exitmsg; playeringame[player_num] = false; players[consoleplayer].message = exitmsg; |