shithub: choc

Download patch

ref: 0cd3b7e5f8634468676b3b6ff1a525837bf3de2d
parent: f3405a4d5c15d2e5bed53e63796cff62d2b4a288
author: Simon Howard <[email protected]>
date: Sun Jun 5 07:45:26 EDT 2016

setup: Fix crash with Chex Quest warp select.

The level selection dialog was crashing on open when Chex Quest was
selected as an IWAD. This appears to have been caused by b0585fa6
which changed Chex Quest to be considered as a retail IWAD rather
than a shareware one, but did not update the tables in d_iwad.c to
match. Change the tables there to match and fix the crash.

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -38,7 +38,7 @@
     { "tnt.wad",      pack_tnt,  commercial, "Final Doom: TNT: Evilution" },
     { "doom.wad",     doom,      retail,     "Doom" },
     { "doom1.wad",    doom,      shareware,  "Doom Shareware" },
-    { "chex.wad",     pack_chex, shareware,  "Chex Quest" },
+    { "chex.wad",     pack_chex, retail,     "Chex Quest" },
     { "hacx.wad",     pack_hacx, commercial, "Hacx" },
     { "freedm.wad",   doom2,     commercial, "FreeDM" },
     { "freedoom2.wad", doom2,    commercial, "Freedoom: Phase 2" },