From b96bbaa06d91cce1e62e20cae78095a7fc14a48b Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 16 Mar 2014 20:06:51 -0400 Subject: hexen: Increase maximum level number to MAP60. Hexen: Deathkings of the Dark Citadel uses levels up to MAP60, not MAP40 as used in hexen.wad. Bump up the limit for Hexen to MAP60 so that it is possible to play multiplayer games with hexdd.wad loaded. Thanks to Rhiyo for the bug report. This fixes #312. --- src/d_mode.c | 2 +- src/setup/multiplayer.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/d_mode.c b/src/d_mode.c index 8bdcf50c..ec3bea44 100644 --- a/src/d_mode.c +++ b/src/d_mode.c @@ -49,7 +49,7 @@ static struct { heretic, shareware, 1, 9 }, { heretic, registered, 3, 9 }, { heretic, retail, 5, 9 }, - { hexen, commercial, 1, 40 }, + { hexen, commercial, 1, 60 }, { strife, commercial, 1, 34 }, }; diff --git a/src/setup/multiplayer.c b/src/setup/multiplayer.c index e38542b2..20c8c352 100644 --- a/src/setup/multiplayer.c +++ b/src/setup/multiplayer.c @@ -442,12 +442,12 @@ static void LevelSelectDialog(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(user_data)) } else { - table = TXT_NewTable(4); + table = TXT_NewTable(6); - for (i=0; i<40; ++i) + for (i=0; i<60; ++i) { - x = i % 4; - y = i / 4; + x = i % 6; + y = i / 6; l = x * 10 + y + 1; -- cgit v1.2.3