summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2014-03-16 20:06:51 -0400
committerSimon Howard2014-03-16 20:09:07 -0400
commitb96bbaa06d91cce1e62e20cae78095a7fc14a48b (patch)
tree775ac100af8bb196ac6d5ef6926f5c918e61cc38
parent17a544e5eb8b7b11a4805dcd3e0b17ada169d1f8 (diff)
downloadchocolate-doom-b96bbaa06d91cce1e62e20cae78095a7fc14a48b.tar.gz
chocolate-doom-b96bbaa06d91cce1e62e20cae78095a7fc14a48b.tar.bz2
chocolate-doom-b96bbaa06d91cce1e62e20cae78095a7fc14a48b.zip
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.
-rw-r--r--src/d_mode.c2
-rw-r--r--src/setup/multiplayer.c8
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;