foxygit / doom Log in
commit b0585fa6ecdfb58250b0dc15bfbf830b3e4c52d5
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Fri Dec 25 13:33:59 2015 +0100
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Fri Dec 25 13:33:59 2015 +0100

    Fix bug when starting multiplayer Chex Quest games.

    The server was rejecting connects when running with chex.wad, because it
    was expecting the gamemode to be shareware; in fact, chex.wad contains
    four episodes worth of levels (even though only five levels are used).
    Technically it is therefore a retail IWAD and we should expect
    gamemode=retail when using it. This fixes #647; thanks to Danfun64 for
    reporting the bug.
---
 src/d_mode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/d_mode.c b/src/d_mode.c
index bfc3fc96..2d3ef3cb 100644
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -30,7 +30,7 @@ static struct
     int episode;
     int map;
 } valid_modes[] = {
-    { pack_chex, shareware,  1, 5 },
+    { pack_chex, retail,     1, 5 },
     { doom,      shareware,  1, 9 },
     { doom,      registered, 3, 9 },
     { doom,      retail,     4, 9 },