Page 1 of 1

Colormap problem when loading Action Doom 2 as an iwad

Posted: Sun Oct 25, 2009 19:52
by Gez

Code: Select all

gzdoom -iwad action.wad
The COLORMAP lump in action2.wad is within c_start/end markers, and therefore in the colormap namespace rather than the global namespace. (It does seem logical after all.) As a result, the function that creates brightmaps from the colormap fails to find it, as it looks only in the global namespace.

This of course does not happen when loading it as a pwad, since then the colormap from the base iwad is used instead.

Here's a patch that fixes the issue. (Might not be the most elegant code, but it works.)

Re: Colormap problem when loading Action Doom 2 as an iwad

Posted: Sun Oct 25, 2009 20:10
by Graf Zahl
Way too messy. That was much easier to handle.