Colormap problem when loading Action Doom 2 as an iwad

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Colormap problem when loading Action Doom 2 as an iwad

Post 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.)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

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

Post by Graf Zahl »

Way too messy. That was much easier to handle.
Locked

Return to “Closed Bugs”