Skip to content

Commit

Permalink
Fixed: Ignore all lumps smaller than eight bytes when building the sp…
Browse files Browse the repository at this point in the history
…rite table during startup. Mods such as 22ventry.zip are now playable (thanks go to entryway and the prboom-plus changelog for the tip off).
  • Loading branch information
danij committed Aug 29, 2009
1 parent 1bd686c commit 59de130
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/engine/portable/src/r_things.c
Expand Up @@ -388,6 +388,9 @@ void R_PreInitSprites(void)
if(name[7] && (name[7] < '0' || name[7] > '8'))
continue;

if(W_LumpLength(i) < 8)
continue;

numSpritePatches++;

// Its a valid, name. Have we already come accross it?
Expand Down

0 comments on commit 59de130

Please sign in to comment.